From 06c57ea534d077a3dbce92d066150692c8c3af3b Mon Sep 17 00:00:00 2001 From: def_null Date: Wed, 23 Mar 2016 10:59:02 +0100 Subject: Fix transportoption, ssloption, ssloptions types names in the documentation --- lib/ssl/doc/src/ssl.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/ssl/doc') diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index a76d46ee9b..82bede69d0 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -48,7 +48,7 @@

true | false

option() = -

socketoption() | ssloption() | transportoption()

+

socketoption() | ssl_option() | transport_option()

socketoption() = @@ -60,7 +60,7 @@ gen_tcp(3) manual pages in Kernel.

- ssloption() = + ssl_option() =

{verify, verify_type()}

| {verify_fun, {fun(), term()}}

@@ -85,11 +85,11 @@ [binary()]} | {client | server, [binary()], binary()}}

| {log_alert, boolean()}

| {server_name_indication, hostname() | disable}

-

| {sni_hosts, [{hostname(), ssloptions()}]}

+

| {sni_hosts, [{hostname(), [ssl_option()]}]}

| {sni_fun, SNIfun::fun()}

- transportoption() = + transport_option() =

{cb_info, {CallbackModule::atom(), DataTag::atom(), ClosedTag::atom(), ErrTag:atom()}}

@@ -168,7 +168,7 @@ | srp_4096 | srp_6144 | srp_8192

SNIfun::fun() -

= fun(ServerName :: string()) -> ssloptions()

+

= fun(ServerName :: string()) -> [ssl_option()]

@@ -617,7 +617,7 @@ fun(srp, Username :: string(), UserState :: term()) -> selection. If set to false (the default), use the client preference.

- {sni_hosts, [{hostname(), ssloptions()}]} + {sni_hosts, [{hostname(), [ssl_option()]}]}

If the server receives a SNI (Server Name Indication) from the client matching a host listed in the sni_hosts option, the specific options for that host will override previously specified options. @@ -626,11 +626,11 @@ fun(srp, Username :: string(), UserState :: term()) -> {sni_fun, SNIfun::fun()}

If the server receives a SNI (Server Name Indication) from the client, - the given function will be called to retrieve ssloptions() for the indicated server. - These options will be merged into predefined ssloptions(). + the given function will be called to retrieve [ssl_option()] for the indicated server. + These options will be merged into predefined [ssl_option()]. The function should be defined as: - fun(ServerName :: string()) -> ssloptions() + fun(ServerName :: string()) -> [ssl_option()] and can be specified as a fun or as named fun module:function/1 The option sni_fun, and sni_hosts are mutually exclusive.

@@ -710,7 +710,7 @@ fun(srp, Username :: string(), UserState :: term()) -> equivalent, connected socket to an SSL socket. Socket = socket() - SslOptions = [ssloption()] + SslOptions = [ssl_option()] Timeout = integer() | infinity SslSocket = sslsocket() Reason = term() @@ -1023,7 +1023,7 @@ fun(srp, Username :: string(), UserState :: term()) -> Performs server-side SSL/TLS handshake. Socket = socket() | sslsocket() - SslOptions = ssloptions() + SslOptions = [ssl_option()] Timeout = integer() Reason = term() -- cgit v1.2.3