DSA_set_method

Select the DSA_METHOD used for operations on dsa (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
int
DSA_set_method(
    DSA* dsa,
    DSA_METHOD const* meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Non-zero on success.

Parameters

NameDescription
dsaDSA key whose method is replaced.
methMethod implementation to attach; releases any prior ENGINE method.