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

Skip to content

Commit 2dd0473

Browse files
committed
whatsnew: SSLSocket.getpeercert new values returned. (#18379)
1 parent 4e40cec commit 2dd0473

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/library/ssl.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -841,10 +841,8 @@ SSL sockets also have the following additional methods and attributes:
841841

842842
.. versionchanged:: 3.4
843843
:exc:`ValueError` is raised when the handshake isn't done.
844-
845-
.. versionchanged:: 3.4
846844
The returned dictionary includes additional X509v3 extension items
847-
such as ``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs.
845+
such as ``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs.
848846

849847
.. method:: SSLSocket.cipher()
850848

Doc/whatsnew/3.4.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,10 @@ Support for server-side SNI using the new
12971297
:meth:`ssl.SSLContext.set_servername_callback` method.
12981298
(Contributed by Daniel Black in :issue:`8109`.)
12991299

1300+
The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional
1301+
``X509v3`` extension items: ``crlDistributionPoints``, ``calIssuers``, and
1302+
``OCSP`` URIs. (Contributed by Christian Heimes in :issue:`18379`.)
1303+
13001304

13011305
stat
13021306
----

0 commit comments

Comments
 (0)