Blame SOURCES/0007-Relax-the-OpenSSL-error-checking-code.patch

a359fa
From 15bfd45926678221a3191f092243cf88d89298e9 Mon Sep 17 00:00:00 2001
a359fa
From: Omair Majid <omajid@redhat.com>
a359fa
Date: Tue, 15 Jan 2019 11:00:03 -0500
a359fa
Subject: [PATCH 7/7] Relax the OpenSSL error checking code
a359fa
a359fa
OpenSSL 1.0 and 1.1 have different messages for the errors, but the same
a359fa
error code. So only check the error code, not the exact error message.
a359fa
a359fa
This is a port of #30889.
a359fa
---
a359fa
 .../tests/CtorTests.cs                                           | 1 -
a359fa
 1 file changed, 1 deletion(-)
a359fa
a359fa
diff --git a/src/System.Security.Cryptography.X509Certificates/tests/CtorTests.cs b/src/System.Security.Cryptography.X509Certificates/tests/CtorTests.cs
a359fa
index da6e2630c0..24c7361500 100644
a359fa
--- a/src/System.Security.Cryptography.X509Certificates/tests/CtorTests.cs
a359fa
+++ b/src/System.Security.Cryptography.X509Certificates/tests/CtorTests.cs
a359fa
@@ -355,7 +355,6 @@ namespace System.Security.Cryptography.X509Certificates.Tests
a359fa
             else // Any Unix
a359fa
             {
a359fa
                 Assert.Equal(0x0D07803A, ex.HResult);
a359fa
-                Assert.Equal("error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error", ex.Message);
a359fa
             }
a359fa
         }
a359fa
 
a359fa
-- 
a359fa
2.20.1
a359fa