diff options
-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", ] } |