Ensure EVP_MD_CTX_md returns the EVP_MD originally used
authorMatt Caswell <matt@openssl.org>
Fri, 29 Mar 2019 16:28:07 +0000 (16:28 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 3 Apr 2019 14:44:36 +0000 (15:44 +0100)
commitb7c913c820a80f8534ead1dc49b569280fcb1f9a
tree2ceb2bf11055045123b5180f17e28b55585c72a1
parente4e91084d6b7acbe55139141f553b361871ec768
Ensure EVP_MD_CTX_md returns the EVP_MD originally used

Fixes #8613

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8614)
crypto/evp/digest.c
crypto/evp/evp_lib.c
crypto/evp/evp_locl.h
doc/man3/EVP_DigestInit.pod
doc/man3/EVP_MD_fetch.pod