DSAparams_dup

Deep-copy DSA domain parameters into a new DSA object (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
DSA*
DSAparams_dup(DSA const* a);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New DSA with copied parameters, or NULL on error; free with DSA_free().

Parameters

NameDescription
aSource DSA whose p, q, and g are duplicated.