Return the DH key referenced by pkey without incrementing its reference count (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
dh_st const*
EVP_PKEY_get0_DH(EVP_PKEY const* pkey);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal DH pointer, or NULL if pkey is not a DH key; do not free the result.

Parameters

Name

Description

pkey

Key that must hold a DH key.

Created with MrDocs