Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a8bf01cc
Commit
a8bf01cc
authored
Mar 17, 2016
by
Steve Dower
Browse files
Options
Browse Files
Download
Plain Diff
Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji.
parents
92f202b6
186b8ee8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Lib/ssl.py
Lib/ssl.py
+2
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ssl.py
View file @
a8bf01cc
...
...
@@ -410,7 +410,8 @@ class SSLContext(_SSLContext):
if encoding == "x509_asn":
if trust is True or purpose.oid in trust:
certs.extend(cert)
self.load_verify_locations(cadata=certs)
if certs:
self.load_verify_locations(cadata=certs)
return certs
def load_default_certs(self, purpose=Purpose.SERVER_AUTH):
...
...
Misc/NEWS
View file @
a8bf01cc
...
...
@@ -226,6 +226,9 @@ Core and Builtins
Library
-------
-
Issue
#
26313
:
ssl
.
py
_load_windows_store_certs
fails
if
windows
cert
store
is
empty
.
Patch
by
Baji
.
-
Issue
#
26569
:
Fix
:
func
:`
pyclbr
.
readmodule
`
and
:
func
:`
pyclbr
.
readmodule_ex
`
to
support
importing
packages
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment