Return which of the requested flag bits are currently set on a DH object (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_test_flags(
    DH const* dh,
    int flags);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Subset of flags that are set, or 0 if none match.

Parameters

Name

Description

dh

DH object to query.

flags

Bitmask of DH_FLAG_* values to test (may combine several bits).

Created with MrDocs