summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2022-03-20 18:42:49 -0400
committerGitHub <noreply@github.com>2022-03-21 06:42:49 +0800
commit5a30471edc26efd38cb052d1ed923f2626e60c45 (patch)
treee89031c05c6b24536a3ad65a0229869c9357be14
parente6fd19aa2f977aa5a32f03c512682b8fb38cae9e (diff)
downloadpyopenssl-5a30471edc26efd38cb052d1ed923f2626e60c45.tar.gz
Remove SSL_library_init call (#1110)
a) It's already called by initializing the Bindings in cryptography b) I'm pretty sure it's not actually necessary at all
-rw-r--r--src/OpenSSL/SSL.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index 4b9b79b..3e6ee1b 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -2618,8 +2618,3 @@ class Connection:
self._ssl, _lib.TLSEXT_STATUSTYPE_ocsp
)
_openssl_assert(rc == 1)
-
-
-# This is similar to the initialization calls at the end of OpenSSL/crypto.py
-# but is exercised mostly by the Context initializer.
-_lib.SSL_library_init()