projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Zero cipher_data in EVP_CIPHER_CTX_cleanup
[oweals/openssl.git]
/
crypto
/
evp
/
evp_test.c
diff --git
a/crypto/evp/evp_test.c
b/crypto/evp/evp_test.c
index 3607fe777677020f4663d5bb788a2b00e2885e17..decd0713d62bfa210e1163d1418e121bed3fccc2 100644
(file)
--- a/
crypto/evp/evp_test.c
+++ b/
crypto/evp/evp_test.c
@@
-209,6
+209,8
@@
static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,
exit(9);
}
+ EVP_CIPHER_CTX_cleanup(&ctx);
+
printf("\n");
}
@@
-279,6
+281,8
@@
static int test_digest(const char *digest,
printf("\n");
+ EVP_MD_CTX_cleanup(&ctx);
+
return 1;
}