aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/cryptography.py
diff options
context:
space:
mode:
authorCharlie Li <vishwin@users.noreply.github.com>2019-04-23 11:07:00 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-04-23 23:07:00 +0800
commit87550626ff995ae61abf441e5e89076cc5a7dd45 (patch)
tree57e2bf18020075fe5be6c3564394b5bf7c7999ca /src/_cffi_src/openssl/cryptography.py
parentf709ce5c5ccd4eb96a5551b21293b04909122bf5 (diff)
downloadcryptography-87550626ff995ae61abf441e5e89076cc5a7dd45.tar.gz
cryptography-87550626ff995ae61abf441e5e89076cc5a7dd45.tar.bz2
cryptography-87550626ff995ae61abf441e5e89076cc5a7dd45.zip
Use generic DTLS functions added in LibreSSL 2.9.1 (#4855)
* Use generic DTLS functions added in LibreSSL 2.9.1 While here, bump travis. * Remove LibreSSL 2.9.0 from travis now that 2.9.1 exists. Requested by: @reaperhulk
Diffstat (limited to 'src/_cffi_src/openssl/cryptography.py')
-rw-r--r--src/_cffi_src/openssl/cryptography.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py
index 4124dcb8..ac32fdff 100644
--- a/src/_cffi_src/openssl/cryptography.py
+++ b/src/_cffi_src/openssl/cryptography.py
@@ -38,9 +38,12 @@ INCLUDES = """
(LIBRESSL_VERSION_NUMBER >= 0x2070000f)
#define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER \
(LIBRESSL_VERSION_NUMBER >= 0x2080000f)
+#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER \
+ (LIBRESSL_VERSION_NUMBER >= 0x2090100f)
#else
#define CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER (0)
#define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER (0)
+#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER (0)
#endif
#define CRYPTOGRAPHY_OPENSSL_102_OR_GREATER \