aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-11-04 22:04:04 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-11-04 22:04:04 -0500
commit8d3168b9a64609e9d447b2048ce77a223d377778 (patch)
tree6e85c217eea22c185bae91229662a0bf4bba39f3 /src/_cffi_src/openssl
parent564600e64d2abedeea7de62cf861ece9b67556b6 (diff)
parentbcb65b7e289c33c1174338b0dbf33b80468cd6a2 (diff)
downloadcryptography-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.py4
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;