EVP_PKEY_meth_set_copy

Set the context-copy callback on a custom EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_copy(
    EVP_PKEY_METHOD* pmeth,
    int(* copy)(EVP_PKEY_CTX*, EVP_PKEY_CTX const*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
pmethMethod table to update.
copyCallback that copies operation state from src into dst, or NULL.