mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS transition (#1355)
This commit is contained in:
parent
5d7a8d0c13
commit
d4069de511
1 changed files with 3 additions and 3 deletions
|
|
@ -614,13 +614,13 @@ Constants
|
|||
.. data:: PROTOCOL_TLS
|
||||
|
||||
Selects the highest protocol version that both the client and server support.
|
||||
Despite the name, this option can select "TLS" protocols as well as "SSL".
|
||||
Despite the name, this option can select both "SSL" and "TLS" protocols.
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
.. data:: PROTOCOL_TLS_CLIENT
|
||||
|
||||
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
|
||||
Auto-negotiate the highest protocol version like :data:`PROTOCOL_TLS`,
|
||||
but only support client-side :class:`SSLSocket` connections. The protocol
|
||||
enables :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` by
|
||||
default.
|
||||
|
|
@ -629,7 +629,7 @@ Constants
|
|||
|
||||
.. data:: PROTOCOL_TLS_SERVER
|
||||
|
||||
Auto-negotiate the highest protocol version like :data:`PROTOCOL_SSLv23`,
|
||||
Auto-negotiate the highest protocol version like :data:`PROTOCOL_TLS`,
|
||||
but only support server-side :class:`SSLSocket` connections.
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue