RSA_meth_dup

Duplicate an RSA_METHOD structure (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
RSA_METHOD*
RSA_meth_dup(RSA_METHOD const* meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated RSA_METHOD, or NULL on failure; free with RSA_meth_free().

Parameters

NameDescription
methMethod to copy.