Skip to content

Commit 353d5bc

Browse files
Fix issues in ssl.rst docs
1 parent a021d33 commit 353d5bc

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

Doc/library/ssl.rst

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,9 @@ Constants
868868
.. data:: HAS_NPN
869869

870870
Whether the OpenSSL library has built-in support for *Next Protocol
871-
Negotiation* as described in the `Application Layer Protocol Negotiation
872-
<https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation >`_. When true,
873-
you can use the :meth:`SSLContext.set_npn_protocols` method to advertise
871+
Negotiation* as described in the `Application Layer Protocol
872+
Negotiation <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_.
873+
When true, you can use the :meth:`SSLContext.set_npn_protocols` method to advertise
874874
which protocols you want to support.
875875

876876
.. versionadded:: 3.3
@@ -1502,7 +1502,7 @@ to speed up repeated connections from the same clients.
15021502
handshake. It should be a list of strings, like ``['http/1.1', 'spdy/2']``,
15031503
ordered by preference. The selection of a protocol will happen during the
15041504
handshake, and will play out according to the `Application Layer Protocol Negotiation
1505-
<https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation >`_. After a
1505+
<https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_. After a
15061506
successful handshake, the :meth:`SSLSocket.selected_npn_protocol` method will
15071507
return the agreed-upon protocol.
15081508

@@ -1663,12 +1663,7 @@ to speed up repeated connections from the same clients.
16631663
.. method:: SSLContext.session_stats()
16641664

16651665
Get statistics about the SSL sessions created or managed by this context.
1666-
A dictionary is returned which maps the names of each `piece of information
1667-
<<<<<<< HEAD
1668-
<https://www.openssl.org/docs/manmaster/man3/SSL_CTX_sess_number.html>`_ to their
1669-
=======
1670-
<https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_sess_number.html>`_ to their
1671-
>>>>>>> master
1666+
A dictionary is returned which maps the names of each `piece of information <https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_sess_number.html>`_ to their
16721667
numeric values. For example, here is the total number of hits and misses
16731668
in the session cache since the context was created::
16741669

0 commit comments

Comments
 (0)