diff options
author | kn <> | 2020-12-30 13:38:13 +0000 |
---|---|---|
committer | kn <> | 2020-12-30 13:38:13 +0000 |
commit | dfd8e006bfd8b46570e571ca6161cbb0f05459c9 (patch) | |
tree | 0895cc21801919d0dd32c9abaab31721fed309e8 /src/lib | |
parent | b146841c2d6c6dbd921e8e87ba091bdbd28e566e (diff) | |
download | openbsd-dfd8e006bfd8b46570e571ca6161cbb0f05459c9.tar.gz openbsd-dfd8e006bfd8b46570e571ca6161cbb0f05459c9.tar.bz2 openbsd-dfd8e006bfd8b46570e571ca6161cbb0f05459c9.zip |
Make the list of supported protocols more prominent
Manuals like httpd.conf(5) refer to this for valid protocol strings, but
elements inlined into sentences are hard find to spot.
Use a list as already done elsewhere in this manual.
OK jmc on earlier version
Feeback OK tb
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libtls/man/tls_config_set_protocols.3 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/lib/libtls/man/tls_config_set_protocols.3 b/src/lib/libtls/man/tls_config_set_protocols.3 index 0aed5b93cf..01f6369fe1 100644 --- a/src/lib/libtls/man/tls_config_set_protocols.3 +++ b/src/lib/libtls/man/tls_config_set_protocols.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: tls_config_set_protocols.3,v 1.8 2020/01/22 06:46:34 beck Exp $ | 1 | .\" $OpenBSD: tls_config_set_protocols.3,v 1.9 2020/12/30 13:38:13 kn Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
4 | .\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org> | 4 | .\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org> |
@@ -16,7 +16,7 @@ | |||
16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
18 | .\" | 18 | .\" |
19 | .Dd $Mdocdate: January 22 2020 $ | 19 | .Dd $Mdocdate: December 30 2020 $ |
20 | .Dt TLS_CONFIG_SET_PROTOCOLS 3 | 20 | .Dt TLS_CONFIG_SET_PROTOCOLS 3 |
21 | .Os | 21 | .Os |
22 | .Sh NAME | 22 | .Sh NAME |
@@ -99,9 +99,19 @@ This value can then be passed to the | |||
99 | .Fn tls_config_set_protocols | 99 | .Fn tls_config_set_protocols |
100 | function. | 100 | function. |
101 | The protocol string is a comma or colon separated list of keywords. | 101 | The protocol string is a comma or colon separated list of keywords. |
102 | Valid keywords are tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3, all (all supported | 102 | Valid keywords are: |
103 | protocols), default (an alias for secure), legacy (an alias for all) and | 103 | .Pp |
104 | secure (currently TLSv1.2 and TLSv1.3). | 104 | .Bl -tag -width "tlsv1.3" -offset indent -compact |
105 | .It Dv tlsv1.0 | ||
106 | .It Dv tlsv1.1 | ||
107 | .It Dv tlsv1.2 | ||
108 | .It Dv tlsv1.3 | ||
109 | .It Dv all Pq all supported protocols | ||
110 | .It Dv default Pq an alias for secure | ||
111 | .It Dv legacy Pq an alias for all | ||
112 | .It Dv secure Pq currently TLSv1.2 and TLSv1.3 | ||
113 | .El | ||
114 | .Pp | ||
105 | If a value has a negative prefix (in the form of a leading exclamation mark) | 115 | If a value has a negative prefix (in the form of a leading exclamation mark) |
106 | then it is removed from the list of available protocols, rather than being | 116 | then it is removed from the list of available protocols, rather than being |
107 | added to it. | 117 | added to it. |