aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_cffi_src/openssl/crypto.py2
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py1
2 files changed, 3 insertions, 0 deletions
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",
]
}