aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/_cffi_src/openssl/engine.py10
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py7
2 files changed, 0 insertions, 17 deletions
diff --git a/src/_cffi_src/openssl/engine.py b/src/_cffi_src/openssl/engine.py
index bed39d06..45ce9526 100644
--- a/src/_cffi_src/openssl/engine.py
+++ b/src/_cffi_src/openssl/engine.py
@@ -9,8 +9,6 @@ INCLUDES = """
"""
TYPES = """
-static const long Cryptography_HAS_ENGINE_CRYPTODEV;
-
typedef ... ENGINE;
typedef ... RSA_METHOD;
typedef ... DSA_METHOD;
@@ -129,15 +127,7 @@ void ENGINE_add_conf_module(void);
void ENGINE_load_openssl(void);
void ENGINE_load_dynamic(void);
void ENGINE_cleanup(void);
-
-void ENGINE_load_cryptodev(void);
"""
CUSTOMIZATIONS = """
-#if CRYPTOGRAPHY_IS_LIBRESSL
-static const long Cryptography_HAS_ENGINE_CRYPTODEV = 0;
-void (*ENGINE_load_cryptodev)(void) = NULL;
-#else
-static const long Cryptography_HAS_ENGINE_CRYPTODEV = 1;
-#endif
"""
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index b4926d25..5c5d2f1f 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -63,12 +63,6 @@ def cryptography_has_set_ecdh_auto():
]
-def cryptography_has_engine_cryptodev():
- return [
- "ENGINE_load_cryptodev"
- ]
-
-
def cryptography_has_rsa_r_pkcs_decoding_error():
return [
"RSA_R_PKCS_DECODING_ERROR"
@@ -261,7 +255,6 @@ CONDITIONAL_NAMES = {
"Cryptography_HAS_EC2M": cryptography_has_ec2m,
"Cryptography_HAS_EC_1_0_2": cryptography_has_ec_1_0_2,
"Cryptography_HAS_SET_ECDH_AUTO": cryptography_has_set_ecdh_auto,
- "Cryptography_HAS_ENGINE_CRYPTODEV": cryptography_has_engine_cryptodev,
"Cryptography_HAS_RSA_R_PKCS_DECODING_ERROR": (
cryptography_has_rsa_r_pkcs_decoding_error
),