diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-11-04 22:04:04 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-11-04 22:04:04 -0500 |
commit | 8d3168b9a64609e9d447b2048ce77a223d377778 (patch) | |
tree | 6e85c217eea22c185bae91229662a0bf4bba39f3 /src/_cffi_src/openssl | |
parent | 564600e64d2abedeea7de62cf861ece9b67556b6 (diff) | |
parent | bcb65b7e289c33c1174338b0dbf33b80468cd6a2 (diff) | |
download | cryptography-8d3168b9a64609e9d447b2048ce77a223d377778.tar.gz cryptography-8d3168b9a64609e9d447b2048ce77a223d377778.tar.bz2 cryptography-8d3168b9a64609e9d447b2048ce77a223d377778.zip |
Merge pull request #2467 from reaperhulk/fix-version-check
these flags were actually added in 1.0.2beta2, not before that.
Diffstat (limited to 'src/_cffi_src/openssl')
-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 2f640b17..abc4c435 100644 --- a/src/_cffi_src/openssl/x509_vfy.py +++ b/src/_cffi_src/openssl/x509_vfy.py @@ -209,7 +209,7 @@ int X509_VERIFY_PARAM_set1_ip_asc(X509_VERIFY_PARAM *, const char *); CUSTOMIZATIONS = """ /* OpenSSL 1.0.2+ verification error codes */ -#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER >= 0x10002002L && !defined(LIBRESSL_VERSION_NUMBER) static const long Cryptography_HAS_102_VERIFICATION_ERROR_CODES = 1; #else static const long Cryptography_HAS_102_VERIFICATION_ERROR_CODES = 0; @@ -225,7 +225,7 @@ static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0; #endif /* OpenSSL 1.0.2+ verification parameters */ -#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER >= 0x10002002L && !defined(LIBRESSL_VERSION_NUMBER) static const long Cryptography_HAS_102_VERIFICATION_PARAMS = 1; #else static const long Cryptography_HAS_102_VERIFICATION_PARAMS = 0; |