Skip to content

Commit

Permalink
Issue python#22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor.
Browse files Browse the repository at this point in the history
  • Loading branch information
zware committed Jul 25, 2014
1 parent e396c36 commit 88a1977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/ssl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 88a1977

Please sign in to comment.