diff options
author | Ingela Anderton Andin <[email protected]> | 2018-06-18 14:14:40 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-06-18 14:14:40 +0200 |
commit | 2e0559f21d2d77c44dbc579f0d6fef7a4d6564c4 (patch) | |
tree | 9e9c95a39833780da800fe6e71e7d3c6345fc1b1 /lib/ssl/doc/src/using_ssl.xml | |
parent | 4b2a998b64090420992529a27489b4af8a731477 (diff) | |
parent | e014ca4131c8504963ff6f91b68053abd4e9f8a5 (diff) | |
download | otp-2e0559f21d2d77c44dbc579f0d6fef7a4d6564c4.tar.gz otp-2e0559f21d2d77c44dbc579f0d6fef7a4d6564c4.tar.bz2 otp-2e0559f21d2d77c44dbc579f0d6fef7a4d6564c4.zip |
Merge branch 'ingela/ssl/doc-fix-21'
* ingela/ssl/doc-fix-21:
ssl: Document enhancements
Diffstat (limited to 'lib/ssl/doc/src/using_ssl.xml')
-rw-r--r-- | lib/ssl/doc/src/using_ssl.xml | 2 |
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> |