aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-11-05 08:55:57 +0900
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-11-05 08:55:57 +0900
commitbcb65b7e289c33c1174338b0dbf33b80468cd6a2 (patch)
tree1f7e1a6f24c72af23f054c514342563d89182063 /src
parentea09b72ee4cb37ba038e38ea4784d12dd337df2c (diff)
downloadcryptography-bcb65b7e289c33c1174338b0dbf33b80468cd6a2.tar.gz
cryptography-bcb65b7e289c33c1174338b0dbf33b80468cd6a2.tar.bz2
cryptography-bcb65b7e289c33c1174338b0dbf33b80468cd6a2.zip
these flags were actually added in 1.0.2beta2, not before that.
Diffstat (limited to 'src')
-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;