diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-04-25 23:42:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 22:42:20 -0500 |
commit | 01eb304b082b4ae5769eb0b2e1184dbca010961a (patch) | |
tree | a2be5eadd79023732937261f6e58b1ddd0f74c30 /src/_cffi_src/openssl/cryptography.py | |
parent | b87a238dc10f46daddd8616efd8a9b0237a858c6 (diff) | |
download | cryptography-01eb304b082b4ae5769eb0b2e1184dbca010961a.tar.gz cryptography-01eb304b082b4ae5769eb0b2e1184dbca010961a.tar.bz2 cryptography-01eb304b082b4ae5769eb0b2e1184dbca010961a.zip |
Dropped support for LibreSSL 2.7, 2.8, and 2.9.0 (2.9.1+ are still supported) (#5231)
Diffstat (limited to 'src/_cffi_src/openssl/cryptography.py')
-rw-r--r-- | src/_cffi_src/openssl/cryptography.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py index 0da882c6..cd583313 100644 --- a/src/_cffi_src/openssl/cryptography.py +++ b/src/_cffi_src/openssl/cryptography.py @@ -33,16 +33,6 @@ INCLUDES = """ #include <Winsock2.h> #endif -#if CRYPTOGRAPHY_IS_LIBRESSL -#define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER \ - (LIBRESSL_VERSION_NUMBER >= 0x2080000f) -#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER \ - (LIBRESSL_VERSION_NUMBER >= 0x2090100f) -#else -#define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER (0) -#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER (0) -#endif - #define CRYPTOGRAPHY_OPENSSL_102L_OR_GREATER \ (OPENSSL_VERSION_NUMBER >= 0x100020cf && !CRYPTOGRAPHY_IS_LIBRESSL) #define CRYPTOGRAPHY_OPENSSL_110_OR_GREATER \ @@ -72,8 +62,6 @@ static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_111; static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_111B; static const int CRYPTOGRAPHY_IS_LIBRESSL; - -static const int CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER; """ FUNCTIONS = """ |