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

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