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

Name

Description

engine

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

Created with MrDocs