[#EVP_PKEY_get1_DH] = EVP_PKEY_get1_DH :mrdocs: Return a new reference to the DH key held by `pkey` (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:dh_st.adoc[dh_st]* EVP_PKEY_get1_DH(xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[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 [cols="1,4"] |=== | Name| Description | *pkey* | Key that must hold a DH key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#