[#DSA_dup_DH]
= DSA&lowbar;dup&lowbar;DH
:mrdocs:

Duplicate DSA parameters (and key material when present) into a new DH object (deprecated)&period;

== Synopsis

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

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

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

Be careful to avoid small&hyphen;subgroup attacks when using the resulting DH key&period;

== Return Value

New DH object, or NULL on error&semi; free with DH&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *r*
| Source DSA object whose p&sol;q&sol;g (and optional keys) are copied&period;
|===


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