]> git.ipfire.org Git - thirdparty/openssl.git/commit
evp_pmeth: free the MD reference correctly.
authorPauli <paul.dale@oracle.com>
Wed, 29 Jan 2020 23:35:37 +0000 (09:35 +1000)
committerPauli <paul.dale@oracle.com>
Fri, 31 Jan 2020 07:52:05 +0000 (17:52 +1000)
commitc98eab85b8a6c5d49353a229ac1d2f4cd0b84682
tree306956c99e5ce1088c55968c56764a1648e31539
parent4a0a9e5767f23f684267eb19e412d26cb288930d
evp_pmeth: free the MD reference correctly.

The code was calling EVP_MD_meth_free which is incorrect.  It should call
EVP_MD_free.  It happened to work but by luck rather than design.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10973)
crypto/evp/pmeth_lib.c