diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-07-25 13:30:50 -0500 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-07-25 13:30:50 -0500 |
commit | 88a1977a087bba87b07b2dc94269539108da300d (patch) | |
tree | 2ef19abca005bf4842dad2e4a165c62caa33d703 | |
parent | e396c363cbacce68d7750a7963af4d7cd3bf30e7 (diff) | |
download | cpython-git-88a1977a087bba87b07b2dc94269539108da300d.tar.gz |
Issue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor.
-rw-r--r-- | Doc/library/ssl.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index baada1b553..5ab6c14d8e 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -787,7 +787,7 @@ SSL sockets also have the following additional methods and attributes: Perform the SSL setup handshake. .. versionchanged:: 3.4 - The handshake method also performce :func:`match_hostname` when the + The handshake method also performs :func:`match_hostname` when the :attr:`~SSLContext.check_hostname` attribute of the socket's :attr:`~SSLSocket.context` is true. @@ -1111,7 +1111,7 @@ to speed up repeated connections from the same clients. returned. Other return values will result in a TLS fatal error with :const:`ALERT_DESCRIPTION_INTERNAL_ERROR`. - If there is a IDNA decoding error on the server name, the TLS connection + If there is an IDNA decoding error on the server name, the TLS connection will terminate with an :const:`ALERT_DESCRIPTION_INTERNAL_ERROR` fatal TLS alert message to the client. |