render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame openssl-1.1.0-issuer-hash.patch

Paolo Bonzini 91c79a
diff -up a/CryptoPkg/Library/OpensslLib/openssl/crypto/x509/x509_cmp.c.issuer-hash b/CryptoPkg/Library/OpensslLib/openssl/crypto/x509/x509_cmp.c
Paolo Bonzini 91c79a
--- a/CryptoPkg/Library/OpensslLib/openssl/crypto/x509/x509_cmp.c.issuer-hash	2016-07-18 15:16:32.788881100 +0200
Paolo Bonzini 91c79a
+++ b/CryptoPkg/Library/OpensslLib/openssl/crypto/x509/x509_cmp.c	2016-07-18 15:17:16.671871840 +0200
Paolo Bonzini 91c79a
@@ -87,6 +87,7 @@ unsigned long X509_issuer_and_serial_has
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;