aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulien Barbot <[email protected]>2013-10-31 17:33:13 +0100
committerFredrik Gustafsson <[email protected]>2013-11-01 14:59:22 +0100
commit1fd424859cfaebd371a08ab5977623dd20d28067 (patch)
treea438b97449c201a272fb0aac2790c49106f7db5f /lib
parent492b8682fdb46f93c0da16e44051787fc064f530 (diff)
downloadotp-1fd424859cfaebd371a08ab5977623dd20d28067.tar.gz
otp-1fd424859cfaebd371a08ab5977623dd20d28067.tar.bz2
otp-1fd424859cfaebd371a08ab5977623dd20d28067.zip
Fix client_preferred_next_protocols documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/doc/src/ssl.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml
index 6029a09730..445a47c07b 100644
--- a/lib/ssl/doc/src/ssl.xml
+++ b/lib/ssl/doc/src/ssl.xml
@@ -86,7 +86,7 @@
{user_lookup_fun, {fun(), term()}}, {psk_identity, string()}, {srp_identity, {string(), string()}} |
{ssl_imp, ssl_imp()} | {reuse_sessions, boolean()} | {reuse_session, fun()}
{next_protocols_advertised, [binary()]} |
- {client_preferred_next_protocols, client | server, [binary()]} |
+ {client_preferred_next_protocols, {client | server, [binary()]} | {client | server, [binary()], binary()}} |
{log_alert, boolean()}
</c></p>
@@ -353,8 +353,8 @@ fun(srp, Username :: string(), UserState :: term()) ->
when possible.
</item>
- <tag>{client_preferred_next_protocols, Precedence :: server | client, ClientPrefs :: [binary()]}</tag>
- <tag>{client_preferred_next_protocols, Precedence :: server | client, ClientPrefs :: [binary()], Default :: binary()}</tag>
+ <tag>{client_preferred_next_protocols, {Precedence :: server | client, ClientPrefs :: [binary()]}}</tag>
+ <tag>{client_preferred_next_protocols, {Precedence :: server | client, ClientPrefs :: [binary()], Default :: binary()}}</tag>
<item>
<p>Indicates the client will try to perform Next Protocol
Negotiation.</p>