diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-17 10:01:56 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-17 14:39:55 -0400 |
commit | fd42a00b6e8b120ae7c3219cec08659063b78b2b (patch) | |
tree | b696722bb4f590ac8dc84b3e1491b7f1d633b21c | |
parent | d30e267c29ba03157a9551aba013c6725dfd650d (diff) | |
download | cryptography-fd42a00b6e8b120ae7c3219cec08659063b78b2b.tar.gz cryptography-fd42a00b6e8b120ae7c3219cec08659063b78b2b.tar.bz2 cryptography-fd42a00b6e8b120ae7c3219cec08659063b78b2b.zip |
need this one too
-rw-r--r-- | src/_cffi_src/openssl/crypto.py | 2 | ||||
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/_conditional.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/crypto.py b/src/_cffi_src/openssl/crypto.py index d6e5de15..86f2c7d6 100644 --- a/src/_cffi_src/openssl/crypto.py +++ b/src/_cffi_src/openssl/crypto.py @@ -29,6 +29,7 @@ static const int CRYPTO_MEM_CHECK_ENABLE; static const int CRYPTO_MEM_CHECK_DISABLE; static const int CRYPTO_LOCK; static const int CRYPTO_UNLOCK; +static const int CRYPTO_LOCK_SSL; """ FUNCTIONS = """ @@ -88,6 +89,7 @@ CUSTOMIZATIONS = """ static const long Cryptography_HAS_LOCKING_CALLBACKS = 0; static const long CRYPTO_LOCK = 0; static const long CRYPTO_UNLOCK = 0; +static const long CRYPTO_LOCK_SSL = 0; #else static const long Cryptography_HAS_LOCKING_CALLBACKS = 1; #endif diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py index 436fcebd..55bdc472 100644 --- a/src/cryptography/hazmat/bindings/openssl/_conditional.py +++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py @@ -415,5 +415,6 @@ CONDITIONAL_NAMES = { "Cryptography_HAS_LOCKING_CALLBACKS": [ "CRYPTO_LOCK", "CRYPTO_UNLOCK", + "CRYPTO_LOCK_SSL", ] } |