cpython: eaee5aed6fbc (original) (raw)

Mercurial > cpython

changeset 101511:eaee5aed6fbc

Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError [#27114]

Steve Dower steve.dower@microsoft.com
date Thu, 26 May 2016 12:19:42 -0700
parents 20d515982b43(current diff)29f163db229e(diff)
children 09d6232e4705
files Lib/ssl.py Misc/NEWS
diffstat 2 files changed, 12 insertions(+), 5 deletions(-)[+] [-] Lib/ssl.py 14 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -145,6 +145,7 @@ from socket import socket, AF_INET, SOCK from socket import SOL_SOCKET, SO_TYPE import base64 # for DER-to-PEM translation import errno +import warnings socket_error = OSError # keep that public name in module namespace @@ -405,11 +406,14 @@ class SSLContext(_SSLContext): def _load_windows_store_certs(self, storename, purpose): certs = bytearray()

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -22,6 +22,9 @@ Core and Builtins Library ------- +- Issue #27114: Fix SSLContext._load_windows_store_certs fails with