diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-10-03 17:27:05 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-10-03 17:27:05 -0400 |
commit | d1593a73c572575f14504d178991584b8b021489 (patch) | |
tree | 33d338efcc85513d5d7bccc73eb5dc8766d60d01 /Lib/ssl.py | |
parent | edfdda515234dc0f017425f4e9b3349fcbff4b4f (diff) | |
download | cpython-d1593a73c572575f14504d178991584b8b021489.tar.gz |
also use openssl envvars to find certs on windows (closes #22449)
Patch by Christian Heimes and Alex Gaynor.
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/ssl.py b/Lib/ssl.py index d3c18ed1b7..d9d191628c 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -390,8 +390,7 @@ class SSLContext(_SSLContext): if sys.platform == "win32": for storename in self._windows_cert_stores: self._load_windows_store_certs(storename, purpose) - else: - self.set_default_verify_paths() + self.set_default_verify_paths() def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None, |