]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't use internal knowledge about EVP_MD_CTX in and MD BIO
authorMatt Caswell <matt@openssl.org>
Mon, 7 Oct 2019 16:45:25 +0000 (17:45 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 11 Oct 2019 10:42:43 +0000 (11:42 +0100)
commitbc3a1377366b2465cebfb61032c1e864c6bbf665
tree7a3adb98e60cfe63bee5c63215ebed0e52fe43fd
parent7c3ccd7fc823b5580f862c0e35dd7962fd2ae0f0
Don't use internal knowledge about EVP_MD_CTX in and MD BIO

There is no need for us to be diving inside the EVP_MD_CTX in the
implementation of an MD BIO. We can just use public APIs. By doing this
certain calls (such as getting the MD out of the BIO were not working
correctly) where providers are in use.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10116)
crypto/evp/bio_md.c