mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
parent
601ed631ad
commit
b4d6370cf7
2 changed files with 0 additions and 17 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -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
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue