url: remove use of sslkwargs
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 25 May 2016 19:57:02 -0700
changeset 29252 f1fe92c6c03c
parent 29251 31acc78c632a
child 29253 9da137faaa9c
url: remove use of sslkwargs
mercurial/url.py
--- 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):