Convert ssl3_cbc_digest_record() to use EVP_MD_is_a()
authorMatt Caswell <matt@openssl.org>
Mon, 31 Aug 2020 13:43:15 +0000 (14:43 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 3 Sep 2020 08:40:52 +0000 (09:40 +0100)
commit13c9843cff061304275a1723bcba137280e2e97d
treec27b90fb30f3124c7330b6f30d004fd1f0eac171
parent820d87bc98c254bb36c46891f3fe4e55bd47f2e7
Convert ssl3_cbc_digest_record() to use EVP_MD_is_a()

Previously it used EVP_MD_type(), which doesn't work when called inside
the FIPs module.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12732)
ssl/s3_cbc.c