[#EVP_PKEY_get0_DH]
= EVP&lowbar;PKEY&lowbar;get0&lowbar;DH
:mrdocs:

Return the DH key referenced by `pkey` without incrementing its reference count (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:dh_st.adoc[dh&lowbar;st] const*
EVP&lowbar;PKEY&lowbar;get0&lowbar;DH(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* pkey);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Internal DH pointer, or NULL if `pkey` is not a DH key&semi; do not free the result&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pkey*
| Key that must hold a DH key&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
