summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-04-22 02:25:23 +0200
committerPauli <paul.dale@oracle.com>2020-07-22 12:18:29 +0200
commit9e5f344a87f08ee2f3886fbccba1957bca86e7ef (patch)
treed4edde552d17ed38cc20e3b01ebd265eae1bf47e
parentevp_test: use correct deallocation for EVP_MD (diff)
downloadopenssl-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)
-rw-r--r--test/evp_test.c2
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,