DH_new_method

Allocate a DH object that uses engine for DH operations (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
DH*
DH_new_method(ENGINE* engine);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New DH, or NULL on allocation failure.

Parameters

NameDescription
engineENGINE to use, or NULL for the default DH ENGINE / method.