changeset 29252:f1fe92c6c03c

url: remove use of sslkwargs
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 25 May 2016 19:57:02 -0700
parents 31acc78c632a
children 9da137faaa9c
files mercurial/url.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/url.py	Wed May 25 19:56:20 2016 -0700
+++ b/mercurial/url.py	Wed May 25 19:57:02 2016 -0700
@@ -355,7 +355,7 @@
                 host = self.realhostport.rsplit(':', 1)[0]
             self.sock = sslutil.wrapsocket(
                 self.sock, self.key_file, self.cert_file, ui=self.ui,
-                serverhostname=host, **sslutil.sslkwargs(self.ui, host))
+                serverhostname=host)
             sslutil.validatesocket(self.sock)
 
     class httpshandler(keepalive.KeepAliveHandler, urlreq.httpshandler):