Latest update.
This commit is contained in:
@@ -25,7 +25,10 @@ static int cmac_size(const EVP_PKEY *pkey)
|
||||
static void cmac_key_free(EVP_PKEY *pkey)
|
||||
{
|
||||
EVP_MAC_CTX *cmctx = EVP_PKEY_get0(pkey);
|
||||
EVP_MAC *mac = cmctx == NULL ? NULL : EVP_MAC_CTX_mac(cmctx);
|
||||
|
||||
EVP_MAC_CTX_free(cmctx);
|
||||
EVP_MAC_free(mac);
|
||||
}
|
||||
|
||||
const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = {
|
||||
|
||||
Reference in New Issue
Block a user