remove cryptodev (#3770)
* remove cryptodev
* oops
diff --git a/src/_cffi_src/openssl/engine.py b/src/_cffi_src/openssl/engine.py
index bed39d0..45ce952 100644
--- a/src/_cffi_src/openssl/engine.py
+++ b/src/_cffi_src/openssl/engine.py
@@ -9,8 +9,6 @@
"""
TYPES = """
-static const long Cryptography_HAS_ENGINE_CRYPTODEV;
-
typedef ... ENGINE;
typedef ... RSA_METHOD;
typedef ... DSA_METHOD;
@@ -129,15 +127,7 @@
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 b4926d2..5c5d2f1 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -63,12 +63,6 @@
]
-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 @@
"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
),