EVP_PKEY_meth_set_cleanup

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

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_cleanup(
    EVP_PKEY_METHOD* pmeth,
    void(* cleanup)(EVP_PKEY_CTX*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
pmethMethod table to update.
cleanupCallback that releases operation-specific state on ctx, or NULL.