Set the private-key free callback on a custom EVP_PKEY_ASN1_METHOD.
Declared in <openssl/evp.h>
void
EVP_PKEY_asn1_set_free(
EVP_PKEY_ASN1_METHOD* ameth,
void(* pkey_free)(EVP_PKEY*));
| Name | Description |
|---|---|
| ameth | ASN.1 method being constructed. |
| pkey_free | Callback that releases algorithm-specific key material in pkey. |