projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340f82a
)
evp_test: use correct deallocation for EVP_CIPHER
author
Pauli
<paul.dale@oracle.com>
Wed, 22 Apr 2020 00:25:23 +0000
(10:25 +1000)
committer
Pauli
<paul.dale@oracle.com>
Wed, 22 Jul 2020 10:18:29 +0000
(20:18 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11082)
test/evp_test.c
patch
|
blob
|
history
diff --git
a/test/evp_test.c
b/test/evp_test.c
index de0b09d5ab50625cca02f47d0a8f05c19a90a6f5..83b92a4166efc1394838ffbe4463af720231a64d 100644
(file)
--- 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,