diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-09-29 18:24:11 -0700 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-09-29 18:24:11 -0700 |
| commit | 2f7827ba8f8e31eda0e15f3d51073329cf606323 (patch) | |
| tree | 3418bc06138b2f7aa0277d5032f2ffa03f989e45 /tools/upip.py | |
| parent | bdc6e86e079dd8a82e9ead1d4041c2e17c882437 (diff) | |
tools/upip: Upgrade to 1.2.2.
TLS SNI support, fixes after making str.rstrip() behavior compliant.
Diffstat (limited to 'tools/upip.py')
| -rw-r--r-- | tools/upip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upip.py b/tools/upip.py index 7b85c718f..411da49e8 100644 --- a/tools/upip.py +++ b/tools/upip.py @@ -122,7 +122,7 @@ def url_open(url): s.connect(addr) if proto == "https:": - s = ussl.wrap_socket(s) + s = ussl.wrap_socket(s, server_hostname=host) if warn_ussl: print("Warning: %s SSL certificate is not validated" % host) warn_ussl = False |
