]> granicus.if.org Git - openssl/commit
Add a test for EVP_Digest[Sign|Verify]* with a BIO MD
authorMatt Caswell <matt@openssl.org>
Mon, 7 Oct 2019 17:21:39 +0000 (18:21 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 11 Oct 2019 10:43:09 +0000 (11:43 +0100)
commit59d0e6c8964c07d7e46c9989735cd1486250b330
tree1270178e3faa95716dffa5d4a72c9c0c2b8d22ce
parent72df8f8825d54a7f1be48cc9035f4e3a86f639b4
Add a test for EVP_Digest[Sign|Verify]* with a BIO MD

If an EVP_MD_CTX is initialised with EVP_DigestSignInit_ex() or
EVP_DigestVerifyInit_ex() it should work with an MD BIO to provide
the "Updates". Test that this is the case.

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