summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Holth <dholth@fastmail.fm>2019-07-05 14:50:57 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2019-07-05 14:50:57 -0400
commit3efa98cfe36d359ee86785a17233f0584ecad265 (patch)
tree83bfbf9f550820aa54d68f31cb5c71d28f6b7d96
parent1265b06271c5d784049df01d708a1b1591694382 (diff)
downloadpyopenssl-git-3efa98cfe36d359ee86785a17233f0584ecad265.tar.gz
Update SSL.py docstring (#849)
-rw-r--r--src/OpenSSL/SSL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index 506354d..eeb92f6 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -1907,7 +1907,7 @@ class Connection(object):
def do_handshake(self):
"""
Perform an SSL handshake (usually called after :meth:`renegotiate` or
- one of :meth:`set_accept_state` or :meth:`set_accept_state`). This can
+ one of :meth:`set_accept_state` or :meth:`set_connect_state`). This can
raise the same exceptions as :meth:`send` and :meth:`recv`.
:return: None.