aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/doc/src/using_ssl.xml
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-06-18 14:04:27 +0200
committerIngela Anderton Andin <[email protected]>2018-06-18 14:10:33 +0200
commite014ca4131c8504963ff6f91b68053abd4e9f8a5 (patch)
treedb1d809038ba3a68225b3cf6ce5efec77d976cb0 /lib/ssl/doc/src/using_ssl.xml
parent115b0fa6d1374de08789a9431dc34c633663f598 (diff)
downloadotp-e014ca4131c8504963ff6f91b68053abd4e9f8a5.tar.gz
otp-e014ca4131c8504963ff6f91b68053abd4e9f8a5.tar.bz2
otp-e014ca4131c8504963ff6f91b68053abd4e9f8a5.zip
ssl: Document enhancements
Diffstat (limited to 'lib/ssl/doc/src/using_ssl.xml')
-rw-r--r--lib/ssl/doc/src/using_ssl.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/doc/src/using_ssl.xml b/lib/ssl/doc/src/using_ssl.xml
index b2d649042b..ab4a600f25 100644
--- a/lib/ssl/doc/src/using_ssl.xml
+++ b/lib/ssl/doc/src/using_ssl.xml
@@ -132,7 +132,7 @@ ok</code>
<p><em>Step 7:</em> Upgrade to an TLS connection. The client and server
must agree upon the upgrade. The server must call
- <c>ssl:accept/2</c> before the client calls <c>ssl:connect/3.</c></p>
+ <c>ssl:handshake/2</c> before the client calls <c>ssl:connect/3.</c></p>
<code type="erl">3 client>{ok, TLSSocket} = ssl:connect(Socket, [{cacertfile, "cacerts.pem"},
{certfile, "cert.pem"}, {keyfile, "key.pem"}], infinity).
{ok,{sslsocket,[...]}}</code>