Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-03-10 23:35:03 +0300
committerGitHub <noreply@github.com>2022-03-10 23:35:03 +0300
commitbcd6042846b25b233d259ce03dff9023cc4987ef (patch)
treef5d5e5819f15c09933a51a51074c5842c9861ab3
parent1095bbd92dd3f2a6bc446a54445bffd6e2ecd212 (diff)
Remove OpenSSL error queue checking after initialization (#65501)
Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>
-rw-r--r--src/libraries/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libraries/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs b/src/libraries/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs
index 39a0d67f202..cf55076dfbb 100644
--- a/src/libraries/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs
+++ b/src/libraries/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs
@@ -24,11 +24,6 @@ internal static partial class Interop
//Call ssl specific initializer
Ssl.EnsureLibSslInitialized();
- if (Interop.Crypto.ErrPeekLastError() != 0)
- {
- // It is going to be wrapped in a type load exception but will have the error information
- throw Interop.Crypto.CreateOpenSslCryptographicException();
- }
}
#endif