diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-13 10:45:16 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-13 10:45:16 (GMT) |
commit | 8060399654980d2c5dc91883ce4505c9fc376277 (patch) | |
tree | 12f95e18d127914d20a74f7bf2249bc49771d8ac /Lib | |
parent | 1ab19ca161a5b58cd47321cabc1562c4156293d9 (diff) | |
download | cpython-8060399654980d2c5dc91883ce4505c9fc376277.zip cpython-8060399654980d2c5dc91883ce4505c9fc376277.tar.gz cpython-8060399654980d2c5dc91883ce4505c9fc376277.tar.bz2 |
Typo. It is rather obvious that this code isn't tested :/
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/client.py b/Lib/http/client.py index 13dc359..1039fa5 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 |