summaryrefslogtreecommitdiffstats
path: root/test/cmp_ctx_test.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-09-26 14:55:00 +0100
committerMatt Caswell <matt@openssl.org>2019-10-03 09:47:34 +0100
commit14bec2c4b4a74f7de3bdf4b3fff764d8842c27ab (patch)
tree12b850f4f0ceaa39d456eab22399a491254c6ce7 /test/cmp_ctx_test.c
parent15de965ff04ccecb068f3ce6c643555dce9372c6 (diff)
Free a fetched digest during EVP_MD_CTX_reset() not EVP_MD_free()
Otherwise a mem leak can occur since EVP_MD_free() calls EVP_MD_CTX_reset() which then clears the contents of the ctx. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10013)
Diffstat (limited to 'test/cmp_ctx_test.c')
0 files changed, 0 insertions, 0 deletions