Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/cryptography/hazmat/bindings/openssl/binding.py b/src/cryptography/hazmat/bindings/openssl/binding.py
- index 1cfe816..ad9334e 100644
- --- a/src/cryptography/hazmat/bindings/openssl/binding.py
- +++ b/src/cryptography/hazmat/bindings/openssl/binding.py
- @@ -169,7 +169,7 @@ class Binding(object):
- # Use Python's implementation if available, importing _ssl triggers
- # the setup for this.
- - __import__("_ssl")
- + #__import__("_ssl")
- if cls.lib.CRYPTO_get_locking_callback() != cls.ffi.NULL:
- return
- @@ -184,6 +184,7 @@ class Binding(object):
- @classmethod
- def _lock_cb(cls, mode, n, file, line):
- lock = cls._locks[n]
- + print(mode, n, file, line)
- if mode & cls.lib.CRYPTO_LOCK:
- lock.acquire()
Advertisement
Add Comment
Please, Sign In to add comment