diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-10-03 21:27:05 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-10-03 21:27:05 (GMT) |
commit | 5915b0f924152b4801c1fe49aff348fd1981cc05 (patch) | |
tree | fd507980526910467e5f213624f12d41471f18bd /Lib/ssl.py | |
parent | 7280561b5b2363c50797fbec301fefcd1e5a8040 (diff) | |
download | cpython-5915b0f924152b4801c1fe49aff348fd1981cc05.zip cpython-5915b0f924152b4801c1fe49aff348fd1981cc05.tar.gz cpython-5915b0f924152b4801c1fe49aff348fd1981cc05.tar.bz2 |
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
@@ -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, |