Don't call EVP_MD_CTX_reset during EVP_DigestFinal
authorMatt Caswell <matt@openssl.org>
Thu, 26 Sep 2019 13:31:56 +0000 (14:31 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 3 Oct 2019 08:47:34 +0000 (09:47 +0100)
commit15de965ff04ccecb068f3ce6c643555dce9372c6
treeed0bd7181c9c810c1b1e0c876e0ca18a24f4d2fd
parent9a071fef00a6d58cfbce4dab4848eda12f1c7dcf
Don't call EVP_MD_CTX_reset during EVP_DigestFinal

This resets the fields of the EVP_MD_CTX and means we can no longer
make calls using the EVP_MD_CTX, such as to query parameters.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10013)
crypto/evp/digest.c
crypto/evp/m_sigver.c