Blame openssl-1.1.0-issuer-hash.patch

Paolo Bonzini 7ae6f1
--- a/CryptoPkg/Library/OpensslLib/openssl/crypto/x509/x509_cmp.c
Paolo Bonzini 7ae6f1
+++ b/CryptoPkg/Library/OpensslLib/openssl/crypto/x509/x509_cmp.c
Paolo Bonzini 7ae6f1
@@ -39,6 +39,7 @@ unsigned long X509_issuer_and_serial_hash(X509 *a)
Paolo Bonzini 91c79a
 
Paolo Bonzini 91c79a
     if (ctx == NULL)
Paolo Bonzini 91c79a
         goto err;
Paolo Bonzini 91c79a
+    EVP_MD_CTX_set_flags(ctx, EVP_MD_CTX_FLAG_NON_FIPS_ALLOW);
Paolo Bonzini 91c79a
     f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0);
Paolo Bonzini 91c79a
     if (!EVP_DigestInit_ex(ctx, EVP_md5(), NULL))
Paolo Bonzini 91c79a
         goto err;
Paolo Bonzini 7ae6f1
-- 
Paolo Bonzini 7ae6f1
2.17.0
Paolo Bonzini 7ae6f1