summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-04 21:05:35 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-04 21:34:55 +0100
commitd6794c2701249dd6b435aee6b36c066db5bec305 (patch)
treedf6ddfbf4436497e769041e406c211f2c529edea /dev-python/httplib2/files
parentdev-python/html5lib: Clean old up (diff)
downloadgentoo-d6794c2701249dd6b435aee6b36c066db5bec305.tar.gz
gentoo-d6794c2701249dd6b435aee6b36c066db5bec305.tar.bz2
gentoo-d6794c2701249dd6b435aee6b36c066db5bec305.zip
dev-python/httplib2: Clean old up
Diffstat (limited to 'dev-python/httplib2/files')
-rw-r--r--dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch b/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch
deleted file mode 100644
index 6a09337b1993..000000000000
--- a/dev-python/httplib2/files/python-httplib2-0.9-cve-2013-2037.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Nur httplib2-0.9.orig/python2/httplib2/__init__.py httplib2-0.9/python2/httplib2/__init__.py
---- httplib2-0.9.orig/python2/httplib2/__init__.py 2015-04-03 13:10:43.401035131 -0600
-+++ httplib2-0.9/python2/httplib2/__init__.py 2015-04-03 13:10:08.470685647 -0600
-@@ -1042,7 +1042,7 @@
- raise CertificateHostnameMismatch(
- 'Server presented certificate that does not match '
- 'host %s: %s' % (hostname, cert), hostname, cert)
-- except ssl_SSLError, e:
-+ except (ssl_SSLError, CertificateHostnameMismatch), e:
- if sock:
- sock.close()
- if self.sock:
-@@ -1052,7 +1052,7 @@
- # to get at more detailed error information, in particular
- # whether the error is due to certificate validation or
- # something else (such as SSL protocol mismatch).
-- if e.errno == ssl.SSL_ERROR_SSL:
-+ if hasattr(e, 'errno') and e.errno == ssl.SSL_ERROR_SSL:
- raise SSLHandshakeError(e)
- else:
- raise