ssl docs: Fix typo (GH-32314)

This commit is contained in:
Frederick 2022-04-06 17:51:35 -07:00 committed by GitHub
parent 63bd72448a
commit 1da9c38fd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1397,7 +1397,7 @@ SSL sockets also have the following additional methods and attributes:
.. method:: SSLSocket.version() .. method:: SSLSocket.version()
Return the actual SSL protocol version negotiated by the connection Return the actual SSL protocol version negotiated by the connection
as a string, or ``None`` is no secure connection is established. as a string, or ``None`` if no secure connection is established.
As of this writing, possible return values include ``"SSLv2"``, As of this writing, possible return values include ``"SSLv2"``,
``"SSLv3"``, ``"TLSv1"``, ``"TLSv1.1"`` and ``"TLSv1.2"``. ``"SSLv3"``, ``"TLSv1"``, ``"TLSv1.1"`` and ``"TLSv1.2"``.
Recent OpenSSL versions may define more return values. Recent OpenSSL versions may define more return values.