Mercurial > public > mercurial-scm > hg
diff mercurial/url.py @ 12906:ae163a0a3cd0 stable
url: fix https client authentication through proxy
There is no tests for this, but the parameter order was obviously wrong.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 01 Nov 2010 01:56:12 +0100 |
parents | 9d6adddc8eea |
children | bda5f35fbf67 2fa2e6444645 |
line wrap: on
line diff
--- a/mercurial/url.py Mon Nov 01 12:45:45 2010 -0500 +++ b/mercurial/url.py Mon Nov 01 01:56:12 2010 +0100 @@ -540,8 +540,8 @@ self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock.connect((self.host, self.port)) if _generic_proxytunnel(self): - self.sock = _ssl_wrap_socket(self.sock, self.cert_file, - self.key_file) + self.sock = _ssl_wrap_socket(self.sock, self.key_file, + self.cert_file) else: BetterHTTPS.connect(self)