diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-09-15 00:23:01 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-09-15 00:23:01 -0400 |
commit | 0a7bebfaf710d3691cec311d13be7725af4b93cc (patch) | |
tree | a45e62680cee04fd76b94caaa4f515feb6206325 /src/_cffi_src/openssl/ocsp.py | |
parent | 9aefda919b1c135a8220ca76339e586e58b3e10e (diff) | |
download | cryptography-0a7bebfaf710d3691cec311d13be7725af4b93cc.tar.gz cryptography-0a7bebfaf710d3691cec311d13be7725af4b93cc.tar.bz2 cryptography-0a7bebfaf710d3691cec311d13be7725af4b93cc.zip |
Remove conditionals for OpenSSL 1.1.1 pre-releases (#4467)
Diffstat (limited to 'src/_cffi_src/openssl/ocsp.py')
-rw-r--r-- | src/_cffi_src/openssl/ocsp.py | 8 |
1 files changed, 3 insertions, 5 deletions
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 |