Allocate and initialize an empty DH object (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
DH*
DH_new();
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Prefer EVP_PKEY‐based Diffie‐Hellman APIs for new code.

Return Value

New DH, or NULL on allocation failure.

Created with MrDocs