Fix regression in EVP_DigestInit_ex: crash when called with NULL type
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 13 Nov 2020 14:57:27 +0000 (15:57 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Thu, 26 Nov 2020 16:39:26 +0000 (17:39 +0100)
commit5de9863bf33e6103264507b8ff87cd58b9c97a52
tree9fafe4fc53bfa53b1d954e015e9dd219a80a6e96
parent8d8dd09b969dd22112137634125e1634bb8e5c4c
Fix regression in EVP_DigestInit_ex: crash when called with NULL type

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13402)
crypto/evp/digest.c