aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/bindings/openssl/_conditional.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl/_conditional.py')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index 76417934..c0238dcc 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -335,6 +335,12 @@ def cryptography_has_raw_key():
]
+def cryptography_has_evp_r_memory_limit_exceeded():
+ return [
+ "EVP_R_MEMORY_LIMIT_EXCEEDED",
+ ]
+
+
# This is a mapping of
# {condition: function-returning-names-dependent-on-that-condition} so we can
# loop over them and delete unsupported names at runtime. It will be removed
@@ -403,4 +409,7 @@ CONDITIONAL_NAMES = {
"Cryptography_HAS_EVP_DIGESTFINAL_XOF": (
cryptography_has_evp_digestfinal_xof
),
+ "Cryptography_HAS_EVP_R_MEMORY_LIMIT_EXCEEDED": (
+ cryptography_has_evp_r_memory_limit_exceeded
+ ),
}