aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl
diff options
context:
space:
mode:
authorLluixhi Scura <lluixhi@gmail.com>2015-08-08 12:17:23 -0700
committerLluixhi Scura <lluixhi@gmail.com>2015-08-08 12:17:23 -0700
commit62751e765600c2082f5e6abbe3af6f62220f98e0 (patch)
tree1fac39dff74cc559c875670387ae2c12f7358e99 /src/_cffi_src/openssl
parentd5bf17ad99939920aa73e6d00a36818ecaf1c2cc (diff)
downloadcryptography-62751e765600c2082f5e6abbe3af6f62220f98e0.tar.gz
cryptography-62751e765600c2082f5e6abbe3af6f62220f98e0.tar.bz2
cryptography-62751e765600c2082f5e6abbe3af6f62220f98e0.zip
Fix build with LibreSSL >= 2.2.2
LIBRESSL_VERSION_NUMBER is now being incremented.
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r--src/_cffi_src/openssl/ec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/ec.py b/src/_cffi_src/openssl/ec.py
index 93ca2754..10c87c33 100644
--- a/src/_cffi_src/openssl/ec.py
+++ b/src/_cffi_src/openssl/ec.py
@@ -397,7 +397,7 @@ static const long Cryptography_HAS_EC2M = 1;
#endif
#if defined(OPENSSL_NO_EC) || OPENSSL_VERSION_NUMBER < 0x1000200f || \
- defined(LIBRESSL_VERSION_NUMBER)
+ defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20020002L
static const long Cryptography_HAS_EC_1_0_2 = 0;
const char *(*EC_curve_nid2nist)(int) = NULL;
#else