diff options
author | Pauli <paul.dale@oracle.com> | 2020-04-22 02:25:23 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-07-22 12:18:29 +0200 |
commit | 9e5f344a87f08ee2f3886fbccba1957bca86e7ef (patch) | |
tree | d4edde552d17ed38cc20e3b01ebd265eae1bf47e /test/evp_test.c | |
parent | evp_test: use correct deallocation for EVP_MD (diff) | |
download | openssl-9e5f344a87f08ee2f3886fbccba1957bca86e7ef.tar.xz openssl-9e5f344a87f08ee2f3886fbccba1957bca86e7ef.zip |
evp_test: use correct deallocation for EVP_CIPHER
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11082)
Diffstat (limited to 'test/evp_test.c')
-rw-r--r-- | test/evp_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/evp_test.c b/test/evp_test.c index de0b09d5ab..83b92a4166 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -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, |