[#DH_get0_priv_key] = DH_get0_priv_key :mrdocs: Return the private key BIGNUM stored in a DH object, if any. == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:BIGNUM.adoc[BIGNUM] const* DH_get0_priv_key(xref:DH.adoc[DH] const* dh); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Deprecated; prefer EVP_PKEY_get_bn_param() / provider‐based key APIs. == Return Value Internal pointer to the private key (do not free), or NULL if unset. == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#