diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2019-11-10 19:16:56 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-11-11 08:16:56 +0800 |
commit | 1a73704b8cf432fb74fc9f52ed4a0ac6637e078f (patch) | |
tree | 0b2036c46ba8b368f44f349e2485e413021736d6 /src/_cffi_src/openssl/x509_vfy.py | |
parent | 251321301546a8683099a42381e56d6230eda3a4 (diff) | |
download | cryptography-1a73704b8cf432fb74fc9f52ed4a0ac6637e078f.tar.gz cryptography-1a73704b8cf432fb74fc9f52ed4a0ac6637e078f.tar.bz2 cryptography-1a73704b8cf432fb74fc9f52ed4a0ac6637e078f.zip |
Fixed #5050 -- dropped support for an old LibresSSL release (#5056)
* Fixed #5050 -- dropped support for an old LibresSSL release
* Changelog
Diffstat (limited to 'src/_cffi_src/openssl/x509_vfy.py')
-rw-r--r-- | src/_cffi_src/openssl/x509_vfy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/_cffi_src/openssl/x509_vfy.py b/src/_cffi_src/openssl/x509_vfy.py index 42da3b1e..675ce823 100644 --- a/src/_cffi_src/openssl/x509_vfy.py +++ b/src/_cffi_src/openssl/x509_vfy.py @@ -269,7 +269,7 @@ static const long X509_V_FLAG_SUITEB_128_LOS_ONLY = 0; static const long X509_V_FLAG_SUITEB_192_LOS = 0; static const long X509_V_FLAG_SUITEB_128_LOS = 0; -#if !CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER +#if !CRYPTOGRAPHY_IS_LIBRESSL int (*X509_VERIFY_PARAM_set1_host)(X509_VERIFY_PARAM *, const char *, size_t) = NULL; int (*X509_VERIFY_PARAM_set1_email)(X509_VERIFY_PARAM *, const char *, @@ -307,7 +307,7 @@ static const long Cryptography_HAS_X509_V_FLAG_TRUSTED_FIRST = 0; static const long X509_V_FLAG_TRUSTED_FIRST = 0; #endif -#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110 && !CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER +#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_110 && !CRYPTOGRAPHY_IS_LIBRESSL Cryptography_STACK_OF_X509_OBJECT *X509_STORE_get0_objects(X509_STORE *ctx) { return ctx->objs; } |