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

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
DH*
DSA_dup_DH(DSA const* r);
Warning

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

Name

Description

r

Source DSA object whose p/q/g (and optional keys) are copied.

Created with MrDocs