summaryrefslogtreecommitdiffstats
path: root/test/evp_test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-04-22 02:24:05 +0200
committerPauli <paul.dale@oracle.com>2020-07-22 12:18:29 +0200
commit340f82a4e7afcd09480653bc5ffbab372d9a0e1d (patch)
tree742dd14d87a9c5025728baf9037e7a6305e4b48d /test/evp_test.c
parentSpecific the engine pointer (diff)
downloadopenssl-340f82a4e7afcd09480653bc5ffbab372d9a0e1d.tar.xz
openssl-340f82a4e7afcd09480653bc5ffbab372d9a0e1d.zip
evp_test: use correct deallocation for EVP_MD
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/evp_test.c b/test/evp_test.c
index a1e205b20b..de0b09d5ab 100644
--- a/test/evp_test.c
+++ b/test/evp_test.c
@@ -369,7 +369,7 @@ static void digest_test_cleanup(EVP_TEST *t)
sk_EVP_TEST_BUFFER_pop_free(mdat->input, evp_test_buffer_free);
OPENSSL_free(mdat->output);
- EVP_MD_meth_free(mdat->fetched_digest);
+ EVP_MD_free(mdat->fetched_digest);
}
static int digest_test_parse(EVP_TEST *t,