Return a new reference to the DH key held by pkey (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
dh_st*
EVP_PKEY_get1_DH(EVP_PKEY* pkey);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

DH with an incremented reference count, or NULL if not a DH key; free with DH_free().

Parameters

Name

Description

pkey

Key that must hold a DH key.

Created with MrDocs