]> granicus.if.org Git - python/commitdiff
whatsnew: SSLSocket.getpeercert new values returned. (#18379)
authorR David Murray <rdmurray@bitdance.com>
Sun, 9 Mar 2014 16:55:58 +0000 (12:55 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sun, 9 Mar 2014 16:55:58 +0000 (12:55 -0400)
Doc/library/ssl.rst
Doc/whatsnew/3.4.rst

index 76bb432a608eccf81cdc4a7eb715cbd83407b3e2..ec8f0673ab9f41f36731d0e3c1c2bf90611664ba 100644 (file)
@@ -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()
 
index c8791e44edf8a9556147d94f1fd1111544215b59..47e8c1635e0ce164287f0072f6a6e9844d94d052 100644 (file)
@@ -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
 ----