Lines 1-12
Link Here
|
1 |
--- src/_cffi_src/openssl/ec.py.orig 2016-06-04 17:06:01 UTC |
|
|
2 |
+++ src/_cffi_src/openssl/ec.py |
3 |
@@ -371,7 +371,8 @@ EC_GROUP *(*EC_GROUP_new_curve_GF2m)( |
4 |
static const long Cryptography_HAS_EC2M = 1; |
5 |
#endif |
6 |
|
7 |
-#if defined(OPENSSL_NO_EC) || OPENSSL_VERSION_NUMBER < 0x1000200f || \ |
8 |
+#if defined(OPENSSL_NO_EC) || \ |
9 |
+ OPENSSL_VERSION_NUMBER < 0x1000200f && !defined(LIBRESSL_VERSION_NUMBER) || \ |
10 |
defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20020002L |
11 |
static const long Cryptography_HAS_EC_1_0_2 = 0; |
12 |
const char *(*EC_curve_nid2nist)(int) = NULL; |