diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-07-12 07:05:09 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-07-12 07:05:09 -0500 |
commit | 939229c00a5286842b8ff7ff6d8b5bc17483e11f (patch) | |
tree | 0c735f642dcd6b4acfe863a7922d721f66275996 | |
parent | 91a27a484a88063679e8b21a99b2714dddfd6c12 (diff) | |
download | cryptography-939229c00a5286842b8ff7ff6d8b5bc17483e11f.tar.gz cryptography-939229c00a5286842b8ff7ff6d8b5bc17483e11f.tar.bz2 cryptography-939229c00a5286842b8ff7ff6d8b5bc17483e11f.zip |
Removed the fastpath from binding initialization. These aren't instantiated frequently enough for this to be worth it, and it improves our coverage.
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/binding.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/binding.py b/src/cryptography/hazmat/bindings/openssl/binding.py index b7178bb2..86fac5ce 100644 --- a/src/cryptography/hazmat/bindings/openssl/binding.py +++ b/src/cryptography/hazmat/bindings/openssl/binding.py @@ -72,9 +72,6 @@ class Binding(object): @classmethod def _ensure_ffi_initialized(cls): - if cls._lib_loaded: - return - with cls._init_lock: if not cls._lib_loaded: cls._lib_loaded = True |