[#DHparams_dup]
= DHparams&lowbar;dup
:mrdocs:

Duplicate Diffie&hyphen;Hellman domain parameters (DHparams&lowbar;dup) (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:DH.adoc[DH]*
DHparams&lowbar;dup(xref:DH.adoc[DH] const* a);
----

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

Newly allocated DH with duplicated parameters, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| Source DH object whose p, q, and g are copied&period;
|===


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