isaacpittman-hitachi / rpms / openssl

Forked from rpms/openssl 2 years ago
Clone

Blame SOURCES/openssl-1.1.0-issuer-hash.patch

e4b8d1
diff -up openssl-1.1.0-pre5/crypto/x509/x509_cmp.c.issuer-hash openssl-1.1.0-pre5/crypto/x509/x509_cmp.c
e4b8d1
--- openssl-1.1.0-pre5/crypto/x509/x509_cmp.c.issuer-hash	2016-07-18 15:16:32.788881100 +0200
e4b8d1
+++ openssl-1.1.0-pre5/crypto/x509/x509_cmp.c	2016-07-18 15:17:16.671871840 +0200
e4b8d1
@@ -87,6 +87,7 @@ unsigned long X509_issuer_and_serial_has
e4b8d1
 
e4b8d1
     if (ctx == NULL)
e4b8d1
         goto err;
e4b8d1
+    EVP_MD_CTX_set_flags(ctx, EVP_MD_CTX_FLAG_NON_FIPS_ALLOW);
e4b8d1
     f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0);
e4b8d1
     if (!EVP_DigestInit_ex(ctx, EVP_md5(), NULL))
e4b8d1
         goto err;