[#DH_get0_key]
= DH&lowbar;get0&lowbar;key
:mrdocs:

Borrow pointers to the public and private key BIGNUMs of a DH object (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
DH&lowbar;get0&lowbar;key(
    xref:DH.adoc[DH] const* dh,
    xref:BIGNUM.adoc[BIGNUM] const** pub&lowbar;key,
    xref:BIGNUM.adoc[BIGNUM] const** priv&lowbar;key);
----

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

[cols="1,4"]
|===
| Name| Description
| *dh*
| DH object to query&period;
| *pub&lowbar;key*
| Receives an internal pointer to the public value, or NULL to skip&semi; do not free&period;
| *priv&lowbar;key*
| Receives an internal pointer to the private value, or NULL to skip&semi; do not free&period;
|===


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