diff options
Diffstat (limited to 'debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch')
-rw-r--r-- | debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch b/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch index 17c858d..b58f31d 100644 --- a/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch +++ b/debian/patches/05_do-not-use-embedded-ssl-match-hostname.patch @@ -1,7 +1,7 @@ Description: Do not use embedded copy of ssl.match_hostname. Author: Daniele Tricoli <eriol@mornie.org> Forwarded: not-needed -Last-Update: 2014-09-01 +Last-Update: 2014-09-23 --- a/test/test_connectionpool.py +++ b/test/test_connectionpool.py @@ -16,15 +16,15 @@ Last-Update: 2014-09-01 EmptyPoolError, --- a/urllib3/connection.py +++ b/urllib3/connection.py -@@ -27,7 +27,7 @@ - from .exceptions import ( +@@ -39,7 +39,7 @@ ConnectTimeoutError, + SystemTimeWarning, ) -from .packages.ssl_match_hostname import match_hostname +from ssl import match_hostname - import six from .util.ssl_ import ( + resolve_cert_reqs, --- a/urllib3/connectionpool.py +++ b/urllib3/connectionpool.py @@ -26,7 +26,7 @@ |