DH_check_params_ex

Validate Diffie-Hellman p/g (and q if present) and report problems via the error queue (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_check_params_ex(DH const* dh);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if the parameters look suitable, or 0 if checks fail (reasons are pushed to the error stack).

Parameters

NameDescription
dhDH object whose domain parameters are checked.