Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-109109: Expose retrieving certificate chains in SSL module #109113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/ssl.py
  • Loading branch information
matiuszka authored Sep 13, 2023
commit 701c62a80af6fa8340a7ee0fedb10b146eaa360d
2 changes: 1 addition & 1 deletion Lib/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ def get_unverified_chain(self):
"""Returns unverified certificate chain provided by the other
end of the SSL channel as a list of DER-encoded bytes.
"""
chain = self._sslobj.get_verified_chain()
chain = self._sslobj.get_unverified_chain()

if chain is None:
return []
Expand Down