From 7aa2a329792d89a22451f1d14a888f1d94547dc5 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 17 Mar 2016 13:41:31 -0400 Subject: sigh... and this one --- src/_cffi_src/openssl/crypto.py | 2 ++ src/cryptography/hazmat/bindings/openssl/_conditional.py | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/_cffi_src/openssl/crypto.py b/src/_cffi_src/openssl/crypto.py index 86f2c7d6..27948bd5 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_READ; static const int CRYPTO_LOCK_SSL; """ @@ -89,6 +90,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_READ = 0; static const long CRYPTO_LOCK_SSL = 0; #else static const long Cryptography_HAS_LOCKING_CALLBACKS = 1; diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py index 55bdc472..7265d228 100644 --- a/src/cryptography/hazmat/bindings/openssl/_conditional.py +++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py @@ -415,6 +415,7 @@ CONDITIONAL_NAMES = { "Cryptography_HAS_LOCKING_CALLBACKS": [ "CRYPTO_LOCK", "CRYPTO_UNLOCK", + "CRYPTO_READ", "CRYPTO_LOCK_SSL", ] } -- cgit v1.2.3