[Python-modules-commits] [python-cryptography] 03/03: Fix FTBFS due to SSL2 method detection.
Tristan Seligmann
mithrandi at moszumanska.debian.org
Sun May 28 02:42:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
mithrandi pushed a commit to branch jessie
in repository python-cryptography.
commit c510406e41be106616ffda1b055a2ebe9cd0e8c9
Author: Tristan Seligmann <mithrandi at debian.org>
Date: Sun Jan 1 22:35:08 2017 +0200
Fix FTBFS due to SSL2 method detection.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/ssl2-detection.patch | 13 +++++++++++++
3 files changed, 15 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a21aa7e..329f6c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at debian.org> Sun, 01 Jan 2017 22:19:17 +0200
diff --git a/debian/patches/series b/debian/patches/series
index 6e8954b..92e0ab9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+ssl2-detection.patch
3215.patch
diff --git a/debian/patches/ssl2-detection.patch b/debian/patches/ssl2-detection.patch
new file mode 100644
index 0000000..d25d238
--- /dev/null
+++ b/debian/patches/ssl2-detection.patch
@@ -0,0 +1,13 @@
+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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-cryptography.git
More information about the Python-modules-commits
mailing list