Skip to content

Commit 8e2f930

Browse files
authored
Remove OpenSSL error queue checking after initialization (#65435)
1 parent 8aafc45 commit 8e2f930

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/libraries/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ static SslInitializer()
2424

2525
//Call ssl specific initializer
2626
Ssl.EnsureLibSslInitialized();
27-
if (Interop.Crypto.ErrPeekLastError() != 0)
28-
{
29-
// It is going to be wrapped in a type load exception but will have the error information
30-
throw Interop.Crypto.CreateOpenSslCryptographicException();
31-
}
3227
}
3328
#endif
3429

0 commit comments

Comments
 (0)