mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Remove some dead constants (#5518)
This commit is contained in:
parent
956e0965fd
commit
b0a3d89e0f
3 changed files with 0 additions and 23 deletions
|
|
@ -10,8 +10,6 @@ INCLUDES = """
|
|||
|
||||
TYPES = """
|
||||
typedef ... RAND_METHOD;
|
||||
|
||||
static const long Cryptography_HAS_EGD;
|
||||
"""
|
||||
|
||||
FUNCTIONS = """
|
||||
|
|
@ -27,5 +25,4 @@ void ERR_load_RAND_strings(void);
|
|||
"""
|
||||
|
||||
CUSTOMIZATIONS = """
|
||||
static const long Cryptography_HAS_EGD = 0;
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ static const int RSA_PKCS1_OAEP_PADDING;
|
|||
static const int RSA_PKCS1_PSS_PADDING;
|
||||
static const int RSA_F4;
|
||||
|
||||
static const int Cryptography_HAS_PSS_PADDING;
|
||||
static const int Cryptography_HAS_RSA_OAEP_MD;
|
||||
static const int Cryptography_HAS_RSA_OAEP_LABEL;
|
||||
"""
|
||||
|
|
@ -49,8 +48,6 @@ int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *, EVP_MD *);
|
|||
"""
|
||||
|
||||
CUSTOMIZATIONS = """
|
||||
static const long Cryptography_HAS_PSS_PADDING = 1;
|
||||
|
||||
#if defined(EVP_PKEY_CTX_set_rsa_oaep_md)
|
||||
static const long Cryptography_HAS_RSA_OAEP_MD = 1;
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -13,15 +13,11 @@ typedef STACK_OF(SSL_CIPHER) Cryptography_STACK_OF_SSL_CIPHER;
|
|||
TYPES = """
|
||||
static const long Cryptography_HAS_SSL_ST;
|
||||
static const long Cryptography_HAS_TLS_ST;
|
||||
static const long Cryptography_HAS_SSL2;
|
||||
static const long Cryptography_HAS_SSL3_METHOD;
|
||||
static const long Cryptography_HAS_TLSv1_1;
|
||||
static const long Cryptography_HAS_TLSv1_2;
|
||||
static const long Cryptography_HAS_TLSv1_3;
|
||||
static const long Cryptography_HAS_SECURE_RENEGOTIATION;
|
||||
static const long Cryptography_HAS_TLSEXT_STATUS_REQ_CB;
|
||||
static const long Cryptography_HAS_STATUS_REQ_OCSP_RESP;
|
||||
static const long Cryptography_HAS_TLSEXT_STATUS_REQ_TYPE;
|
||||
static const long Cryptography_HAS_SSL_CTX_CLEAR_OPTIONS;
|
||||
static const long Cryptography_HAS_DTLS;
|
||||
static const long Cryptography_HAS_SIGALGS;
|
||||
|
|
@ -29,9 +25,6 @@ static const long Cryptography_HAS_PSK;
|
|||
static const long Cryptography_HAS_VERIFIED_CHAIN;
|
||||
static const long Cryptography_HAS_KEYLOG;
|
||||
|
||||
/* Internally invented symbol to tell us if SNI is supported */
|
||||
static const long Cryptography_HAS_TLSEXT_HOSTNAME;
|
||||
|
||||
/* Internally invented symbol to tell us if SSL_MODE_RELEASE_BUFFERS is
|
||||
* supported
|
||||
*/
|
||||
|
|
@ -522,12 +515,6 @@ static const long Cryptography_HAS_KEYLOG = 1;
|
|||
|
||||
static const long Cryptography_HAS_SECURE_RENEGOTIATION = 1;
|
||||
|
||||
/* Cryptography now compiles out all SSLv2 bindings. This exists to allow
|
||||
* clients that use it to check for SSLv2 support to keep functioning as
|
||||
* expected.
|
||||
*/
|
||||
static const long Cryptography_HAS_SSL2 = 0;
|
||||
|
||||
#ifdef OPENSSL_NO_SSL3_METHOD
|
||||
static const long Cryptography_HAS_SSL3_METHOD = 0;
|
||||
SSL_METHOD* (*SSLv3_method)(void) = NULL;
|
||||
|
|
@ -537,10 +524,6 @@ SSL_METHOD* (*SSLv3_server_method)(void) = NULL;
|
|||
static const long Cryptography_HAS_SSL3_METHOD = 1;
|
||||
#endif
|
||||
|
||||
static const long Cryptography_HAS_TLSEXT_HOSTNAME = 1;
|
||||
static const long Cryptography_HAS_TLSEXT_STATUS_REQ_CB = 1;
|
||||
static const long Cryptography_HAS_STATUS_REQ_OCSP_RESP = 1;
|
||||
static const long Cryptography_HAS_TLSEXT_STATUS_REQ_TYPE = 1;
|
||||
static const long Cryptography_HAS_RELEASE_BUFFERS = 1;
|
||||
static const long Cryptography_HAS_OP_NO_COMPRESSION = 1;
|
||||
static const long Cryptography_HAS_TLSv1_1 = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue