EVP_MD_CTX_copy_ex: Allow copying uninitialized digest contexts
authorTomas Mraz <tomas@openssl.org>
Tue, 23 Nov 2021 14:52:04 +0000 (15:52 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 24 Nov 2021 17:42:27 +0000 (18:42 +0100)
commit9ece8323ea2230092227bf20e5d93012d15d92e9
tree5f78ae89ca9217e531fa71d65be1c7d61939f204
parent3607b8ad8ee1980a079e985333a196e0c79f8f00
EVP_MD_CTX_copy_ex: Allow copying uninitialized digest contexts

Fixes #17117

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17118)
crypto/evp/digest.c