mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
evp_test: use correct deallocation for EVP_CIPHER
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11082)
This commit is contained in:
parent
340f82a4e7
commit
9e5f344a87
@ -568,7 +568,7 @@ static void cipher_test_cleanup(EVP_TEST *t)
|
||||
for (i = 0; i < AAD_NUM; i++)
|
||||
OPENSSL_free(cdat->aad[i]);
|
||||
OPENSSL_free(cdat->tag);
|
||||
EVP_CIPHER_meth_free(cdat->fetched_cipher);
|
||||
EVP_CIPHER_free(cdat->fetched_cipher);
|
||||
}
|
||||
|
||||
static int cipher_test_parse(EVP_TEST *t, const char *keyword,
|
||||
|
Loading…
Reference in New Issue
Block a user