From: Antoine Pitrou Date: Wed, 13 Oct 2010 10:45:16 +0000 (+0000) Subject: Typo. It is rather obvious that this code isn't tested :/ X-Git-Tag: v3.2a4~638 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8060399654980d2c5dc91883ce4505c9fc376277;p=thirdparty%2FPython%2Fcpython.git Typo. It is rather obvious that this code isn't tested :/ --- diff --git a/Lib/http/client.py b/Lib/http/client.py index 13dc3594ebd3..1039fa5c3ab0 100644 --- a/Lib/http/client.py +++ b/Lib/http/client.py @@ -1067,7 +1067,7 @@ else: raise ValueError("check_hostname needs a SSL context with " "either CERT_OPTIONAL or CERT_REQUIRED") if key_file or cert_file: - context.load_cert_chain(certfile, keyfile) + context.load_cert_chain(cert_file, key_file) self._context = context self._check_hostname = check_hostname