Commit c510406e authored by Tristan Seligmann's avatar Tristan Seligmann

Fix FTBFS due to SSL2 method detection.

parent 566ca26f
......@@ -3,6 +3,7 @@ python-cryptography (0.6.1-1+deb8u1) stable; urgency=high
* Stable update.
* Backport the fix for CVE-2016-9243 (HKDF returns an empty byte string
for small key sizes).
* Fix FTBFS due to SSL2 method detection (closes: #849802).
-- Tristan Seligmann <mithrandi@debian.org> Sun, 01 Jan 2017 22:19:17 +0200
......
ssl2-detection.patch
3215.patch
Index: python-cryptography/cryptography/hazmat/bindings/openssl/ssl.py
===================================================================
--- python-cryptography.orig/cryptography/hazmat/bindings/openssl/ssl.py 2017-01-01 22:33:41.640198755 +0200
+++ python-cryptography/cryptography/hazmat/bindings/openssl/ssl.py 2017-01-01 22:34:20.336845122 +0200
@@ -384,7 +384,7 @@
#else
static const long Cryptography_HAS_SECURE_RENEGOTIATION = 1;
#endif
-#ifdef OPENSSL_NO_SSL2
+#ifdef OPENSSL_NO_SSL2_METHOD
static const long Cryptography_HAS_SSL2 = 0;
SSL_METHOD* (*SSLv2_method)(void) = NULL;
SSL_METHOD* (*SSLv2_client_method)(void) = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment