mercurial/url.py
changeset 29227 dffe78d80a6c
parent 28883 032c4c2f802a
child 29248 e6de6ef3e426
--- a/mercurial/url.py	Sun May 15 11:32:11 2016 -0700
+++ b/mercurial/url.py	Sun May 15 11:38:38 2016 -0700
@@ -356,7 +356,7 @@
             self.sock = sslutil.wrapsocket(
                 self.sock, self.key_file, self.cert_file, serverhostname=host,
                 **sslutil.sslkwargs(self.ui, host))
-            sslutil.validator(self.ui, host)(self.sock)
+            sslutil.validatesocket(self.sock)
 
     class httpshandler(keepalive.KeepAliveHandler, urlreq.httpshandler):
         def __init__(self, ui):