[#DSA_dup_DH] = DSA_dup_DH :mrdocs: Duplicate DSA parameters (and key material when present) into a new DH object (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:DH.adoc[DH]* DSA_dup_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‐subgroup attacks when using the resulting DH key. == Return Value New DH object, or NULL on error; free with DH_free(). == Parameters [cols="1,4"] |=== | Name| Description | *r* | Source DSA object whose p/q/g (and optional keys) are copied. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#