aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-10-24 21:29:24 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-10-24 21:29:24 -0500
commita4ff3ca63c175db7aa629205c5f52113ba4608a4 (patch)
tree544ce415af63c0ddb8300a60b27fdfb4cb9bf15d
parent1161aeadd3cc0f0769b0e39959c4c51aa206ed1d (diff)
downloadcryptography-a4ff3ca63c175db7aa629205c5f52113ba4608a4.tar.gz
cryptography-a4ff3ca63c175db7aa629205c5f52113ba4608a4.tar.bz2
cryptography-a4ff3ca63c175db7aa629205c5f52113ba4608a4.zip
expand comment
-rw-r--r--src/cryptography/hazmat/bindings/openssl/binding.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/binding.py b/src/cryptography/hazmat/bindings/openssl/binding.py
index e2c34d6c..e8bf267b 100644
--- a/src/cryptography/hazmat/bindings/openssl/binding.py
+++ b/src/cryptography/hazmat/bindings/openssl/binding.py
@@ -174,5 +174,7 @@ class Binding(object):
)
-# OpenSSL is not thread safe until the locks are initialized.
+# OpenSSL is not thread safe until the locks are initialized. We initialize in
+# module scope to cause initialization whenever this module is imported (and
+# try to get some benefit from the import lock).
Binding.init_static_locks()