aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2015-01-15 21:59:15 +0000
committerDaniele Tricoli <eriol@mornie.org>2015-01-15 21:59:15 +0000
commit855b284926916486682eadeb1d077a7456a92ef9 (patch)
tree65f159700e6f81a6eeedbcde239701dbabc0932d /debian/patches
parent46d20441e9abdc646f5709c47f6a1dad3cee72fc (diff)
downloadpython-urllib3-855b284926916486682eadeb1d077a7456a92ef9.tar
python-urllib3-855b284926916486682eadeb1d077a7456a92ef9.tar.gz
Remove 06_do-not-make-SSLv3-mandatory.patch since it was merged upstream
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/06_do-not-make-SSLv3-mandatory.patch25
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 26 deletions
diff --git a/debian/patches/06_do-not-make-SSLv3-mandatory.patch b/debian/patches/06_do-not-make-SSLv3-mandatory.patch
deleted file mode 100644
index c072d60..0000000
--- a/debian/patches/06_do-not-make-SSLv3-mandatory.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: Since SSL version 3 is insecure it is supported only if Python
- supports it. In Debian SSL version 3 is disabled in system Python since
- 2.7.8-12.
-Author: Daniele Tricoli <eriol@mornie.org>
-Forwarded: https://github.com/shazow/urllib3/issues/487#issuecomment-63805742
-Last/Update: 2014-11-20
-
---- a/urllib3/contrib/pyopenssl.py
-+++ b/urllib3/contrib/pyopenssl.py
-@@ -70,9 +70,14 @@
- # Map from urllib3 to PyOpenSSL compatible parameter-values.
- _openssl_versions = {
- ssl.PROTOCOL_SSLv23: OpenSSL.SSL.SSLv23_METHOD,
-- ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
- ssl.PROTOCOL_TLSv1: OpenSSL.SSL.TLSv1_METHOD,
- }
-+
-+try:
-+ _openssl_versions.update({ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD})
-+except AttributeError:
-+ pass
-+
- _openssl_verify = {
- ssl.CERT_NONE: OpenSSL.SSL.VERIFY_NONE,
- ssl.CERT_OPTIONAL: OpenSSL.SSL.VERIFY_PEER,
diff --git a/debian/patches/series b/debian/patches/series
index 30602ad..b77d657 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@
03_force_setuptools.patch
04_relax_nosetests_options.patch
05_avoid-embedded-ssl-match-hostname.patch
-06_do-not-make-SSLv3-mandatory.patch