EVP_CIPHER_meth_dup

Duplicate a custom EVP_CIPHER method object (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
EVP_CIPHER*
EVP_CIPHER_meth_dup(EVP_CIPHER const* cipher);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated EVP_CIPHER copy, or NULL on failure.

Parameters

NameDescription
cipherMethod to copy.