EVP_PKEY_meth_copy

Copy all callbacks and flags from one EVP_PKEY_METHOD to another (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_copy(
    EVP_PKEY_METHOD* dst,
    EVP_PKEY_METHOD const* src);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
dstDestination method (existing object overwritten).
srcSource method whose callbacks/flags are copied.