From 0a7bebfaf710d3691cec311d13be7725af4b93cc Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 15 Sep 2018 00:23:01 -0400 Subject: Remove conditionals for OpenSSL 1.1.1 pre-releases (#4467) --- src/_cffi_src/openssl/ocsp.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/_cffi_src/openssl/ocsp.py') 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 -- cgit v1.2.3