summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-09 16:55:58 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-09 16:55:58 (GMT)
commit2dd047372288e87c57552e4a3e5142ff1c919030 (patch)
tree33fb8cd4545681a49839b72d36f26b62c0be98b6
parent4e40cec924d5c2cac4c3b6755fe390c94404fa86 (diff)
downloadcpython-2dd047372288e87c57552e4a3e5142ff1c919030.zip
cpython-2dd047372288e87c57552e4a3e5142ff1c919030.tar.gz
cpython-2dd047372288e87c57552e4a3e5142ff1c919030.tar.bz2
whatsnew: SSLSocket.getpeercert new values returned. (#18379)
-rw-r--r--Doc/library/ssl.rst4
-rw-r--r--Doc/whatsnew/3.4.rst4
2 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 76bb432..ec8f067 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -841,10 +841,8 @@ SSL sockets also have the following additional methods and attributes:
.. versionchanged:: 3.4
:exc:`ValueError` is raised when the handshake isn't done.
-
- .. versionchanged:: 3.4
The returned dictionary includes additional X509v3 extension items
- such as ``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs.
+ such as ``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs.
.. method:: SSLSocket.cipher()
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index c8791e4..47e8c16 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1297,6 +1297,10 @@ Support for server-side SNI using the new
:meth:`ssl.SSLContext.set_servername_callback` method.
(Contributed by Daniel Black in :issue:`8109`.)
+The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional
+``X509v3`` extension items: ``crlDistributionPoints``, ``calIssuers``, and
+``OCSP`` URIs. (Contributed by Christian Heimes in :issue:`18379`.)
+
stat
----