diff options
author | Maria-12648430 <maria-12648430@hnc-agency.org> | 2021-03-09 15:28:45 +0100 |
---|---|---|
committer | Maria-12648430 <maria-12648430@hnc-agency.org> | 2021-03-09 15:28:45 +0100 |
commit | a44ad8f219763a829e190b4d8ce5f15c8a92a0f8 (patch) | |
tree | 83e0e1c546678c69c4a2c5517a69df34f93108e3 /lib | |
parent | 9b2a767b6181985ab4b6aa0ac039a7634c97154f (diff) | |
download | erlang-a44ad8f219763a829e190b4d8ce5f15c8a92a0f8.tar.gz |
Fix docs for protocol_version and dtls_protocol_version
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/doc/src/ssl_app.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssl/doc/src/ssl_app.xml b/lib/ssl/doc/src/ssl_app.xml index 1426206508..ebf085ebc9 100644 --- a/lib/ssl/doc/src/ssl_app.xml +++ b/lib/ssl/doc/src/ssl_app.xml @@ -65,14 +65,16 @@ <p><c>erl -ssl protocol_version "['tlsv1.2', 'tlsv1.1']"</c></p> <taglist> - <tag><c>protocol_version = </c><seetype marker="ssl#protocol">ssl:ssl_tls_protocol()</seetype><c><![CDATA[<optional>]]></c></tag> + <tag><c>protocol_version = </c><seetype marker="ssl#tls_version">ssl:tls_version()</seetype> | + [<seetype marker="ssl#tls_version">ssl:tls_version()</seetype>] <c><![CDATA[<optional>]]></c></tag> <item><p>Protocol supported by started clients and servers. If this option is not set, it defaults to all TLS protocols currently supported, more might be configurable, by the SSL application. This option can be overridden by the version option to <c>ssl:connect/[2,3]</c> and <c>ssl:listen/2</c>.</p></item> - <tag><c>dtls_protocol_version = </c><seetype marker="ssl#protocol">ssl:dtls_protocol()</seetype><c><![CDATA[<optional>]]></c></tag> + <tag><c>dtls_protocol_version = </c><seetype marker="ssl#dtls_version">ssl:dtls_version()</seetype> | + [<seetype marker="ssl#dtls_version">ssl:dtls_version()</seetype>] <c><![CDATA[<optional>]]></c></tag> <item><p>Protocol supported by started clients and servers. If this option is not set, it defaults to all DTLS protocols currently supported, more might be configurable, by the SSL application. |