Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Relax the OpenSSL error checking code
Browse files Browse the repository at this point in the history
OpenSSL 1.0 and 1.1 have different messages for the errors, but the same
error code. So only check the error code, not the exact error message.

This is a port of #30889.
  • Loading branch information
omajid committed Jan 17, 2019
1 parent b598cd9 commit 717cda2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ public static void InvalidCertificateBlob()
else // Any Unix
{
Assert.Equal(0x0D07803A, ex.HResult);
Assert.Equal("error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error", ex.Message);
}
}

Expand Down

0 comments on commit 717cda2

Please sign in to comment.