aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/_cffi_src/openssl/cryptography.py3
-rw-r--r--src/_cffi_src/openssl/ocsp.py8
2 files changed, 3 insertions, 8 deletions
diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py
index 3ebe3c5b..11499884 100644
--- a/src/_cffi_src/openssl/cryptography.py
+++ b/src/_cffi_src/openssl/cryptography.py
@@ -44,9 +44,6 @@ INCLUDES = """
(OPENSSL_VERSION_NUMBER >= 0x10100000 && !CRYPTOGRAPHY_IS_LIBRESSL)
#define CRYPTOGRAPHY_OPENSSL_110F_OR_GREATER \
(OPENSSL_VERSION_NUMBER >= 0x1010006f && !CRYPTOGRAPHY_IS_LIBRESSL)
-#define CRYPTOGRAPHY_OPENSSL_BETWEEN_111_and_111PRE9 \
- (OPENSSL_VERSION_NUMBER >= 0x10101000 && \
- OPENSSL_VERSION_NUMBER <= 0x10101009)
#define CRYPTOGRAPHY_OPENSSL_LESS_THAN_102 \
(OPENSSL_VERSION_NUMBER < 0x10002000 || CRYPTOGRAPHY_IS_LIBRESSL)
diff --git a/src/_cffi_src/openssl/ocsp.py b/src/_cffi_src/openssl/ocsp.py
index a466458d..1f535a7b 100644
--- a/src/_cffi_src/openssl/ocsp.py
+++ b/src/_cffi_src/openssl/ocsp.py
@@ -82,10 +82,9 @@ CUSTOMIZATIONS = """
#if ( \
CRYPTOGRAPHY_OPENSSL_110_OR_GREATER && \
CRYPTOGRAPHY_OPENSSL_LESS_THAN_110J \
- ) || CRYPTOGRAPHY_OPENSSL_BETWEEN_111_and_111PRE9
+ )
/* These structs come from ocsp_lcl.h and are needed to de-opaque the struct
- for the getters in OpenSSL 1.1.0 through 1.1.0i, as well as 1.1.1-pre1 to
- 1.1.1-pre9 */
+ for the getters in OpenSSL 1.1.0 through 1.1.0i */
struct ocsp_responder_id_st {
int type;
union {
@@ -147,8 +146,7 @@ const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs)
}
#endif
-#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110J || \
- CRYPTOGRAPHY_OPENSSL_BETWEEN_111_and_111PRE9
+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110J
const X509_ALGOR *OCSP_resp_get0_tbs_sigalg(const OCSP_BASICRESP *bs)
{
#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110