aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/cryptography.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-09-22 10:22:54 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2016-09-22 11:22:54 -0400
commit8b8d51b752729f7237bb51274ccf158cbb4cfce0 (patch)
tree171da9fb53afa52bcd92b1e9125c743c85f5153f /src/_cffi_src/openssl/cryptography.py
parenteba71712349f275bec51e3176c51ecbfa883e066 (diff)
downloadcryptography-8b8d51b752729f7237bb51274ccf158cbb4cfce0.tar.gz
cryptography-8b8d51b752729f7237bb51274ccf158cbb4cfce0.tar.bz2
cryptography-8b8d51b752729f7237bb51274ccf158cbb4cfce0.zip
1.0.2i changed the way COMP_METHOD is exported if NO_COMP is set (#3162)
* 1.0.2i changed the way COMP_METHOD is exported if NO_COMP is set * add a comment explaining why we changed this * 1.0.2i handles NUMERICSTRING properly now so need only test < 1.0.2i * needs to be visible
Diffstat (limited to 'src/_cffi_src/openssl/cryptography.py')
-rw-r--r--src/_cffi_src/openssl/cryptography.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py
index 69824010..2ab13752 100644
--- a/src/_cffi_src/openssl/cryptography.py
+++ b/src/_cffi_src/openssl/cryptography.py
@@ -32,6 +32,8 @@ INCLUDES = """
(OPENSSL_VERSION_NUMBER < 0x10002000)
#define CRYPTOGRAPHY_OPENSSL_LESS_THAN_102BETA3 \
(OPENSSL_VERSION_NUMBER < 0x10002003)
+#define CRYPTOGRAPHY_OPENSSL_LESS_THAN_102I \
+ (OPENSSL_VERSION_NUMBER < 0x1000209fL)
#define CRYPTOGRAPHY_OPENSSL_LESS_THAN_110 \
(OPENSSL_VERSION_NUMBER < 0x10100000)
#define CRYPTOGRAPHY_OPENSSL_LESS_THAN_110PRE5 \
@@ -51,6 +53,8 @@ static const int CRYPTOGRAPHY_OPENSSL_110_OR_GREATER;
static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_101;
+static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_102I;
+
static const int CRYPTOGRAPHY_IS_LIBRESSL;
"""