summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2021-01-02 19:58:44 +0000
committerschwarze <>2021-01-02 19:58:44 +0000
commit8403e33ccd1fa853a04845229e9d2fca97195761 (patch)
tree3ad1fc8940501ee834dbc47f3f49a02338bffe5f
parenteea0607dc228c0e4d186b5a5b0571ab1b3b65811 (diff)
downloadopenbsd-8403e33ccd1fa853a04845229e9d2fca97195761.tar.gz
openbsd-8403e33ccd1fa853a04845229e9d2fca97195761.tar.bz2
openbsd-8403e33ccd1fa853a04845229e9d2fca97195761.zip
Tweak previous:
* Do not abuse .Bl -tag for lists without bodies, use .Bl -item instead. * In tagged lists, put bodies into bodies, not into heads. * Add a few missing macros. * Drop some useless quoting.
-rw-r--r--src/lib/libtls/man/tls_config_set_protocols.353
1 files changed, 34 insertions, 19 deletions
diff --git a/src/lib/libtls/man/tls_config_set_protocols.3 b/src/lib/libtls/man/tls_config_set_protocols.3
index a636b06f4e..7c62493e83 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.10 2021/01/02 19:15:04 kn Exp $ 1.\" $OpenBSD: tls_config_set_protocols.3,v 1.11 2021/01/02 19:58:44 schwarze 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>
@@ -74,11 +74,15 @@ otherwise.
74specifies which versions of the TLS protocol may be used. 74specifies which versions of the TLS protocol may be used.
75Possible values are the bitwise OR of: 75Possible values are the bitwise OR of:
76.Pp 76.Pp
77.Bl -tag -width "TLS_PROTOCOL_TLSv1_2" -offset indent -compact 77.Bl -item -offset indent -compact
78.It Dv TLS_PROTOCOL_TLSv1_0 78.It
79.It Dv TLS_PROTOCOL_TLSv1_1 79.Dv TLS_PROTOCOL_TLSv1_0
80.It Dv TLS_PROTOCOL_TLSv1_2 80.It
81.It Dv TLS_PROTOCOL_TLSv1_3 81.Dv TLS_PROTOCOL_TLSv1_1
82.It
83.Dv TLS_PROTOCOL_TLSv1_2
84.It
85.Dv TLS_PROTOCOL_TLSv1_3
82.El 86.El
83.Pp 87.Pp
84Additionally, the values 88Additionally, the values
@@ -106,10 +110,14 @@ Valid keywords are:
106.It Dv tlsv1.1 110.It Dv tlsv1.1
107.It Dv tlsv1.2 111.It Dv tlsv1.2
108.It Dv tlsv1.3 112.It Dv tlsv1.3
109.It Dv all Pq all supported protocols 113.It Dv all
110.It Dv default Pq an alias for secure 114.Pq all supported protocols
111.It Dv legacy Pq an alias for all 115.It Dv default
112.It Dv secure Pq currently TLSv1.2 and TLSv1.3 116.Pq an alias for Dv secure
117.It Dv legacy
118.Pq an alias for Dv all
119.It Dv secure
120.Pq currently TLSv1.2 and TLSv1.3
113.El 121.El
114.Pp 122.Pp
115If a value has a negative prefix (in the form of a leading exclamation mark) 123If a value has a negative prefix (in the form of a leading exclamation mark)
@@ -125,11 +133,15 @@ sets the list of ciphers that may be used.
125Lists of ciphers are specified by name, and the 133Lists of ciphers are specified by name, and the
126permitted names are: 134permitted names are:
127.Pp 135.Pp
128.Bl -tag -width "insecure" -offset indent -compact 136.Bl -item -offset indent -compact
129.It Dv "secure" (or alias "default") 137.It
130.It Dv "compat" 138.Dv secure Pq or alias Dv default
131.It Dv "legacy" 139.It
132.It Dv "insecure" (or alias "all") 140.Dv compat
141.It
142.Dv legacy
143.It
144.Dv insecure Pq or alias Dv all
133.El 145.El
134.Pp 146.Pp
135Alternatively, libssl cipher strings can be specified. 147Alternatively, libssl cipher strings can be specified.
@@ -142,10 +154,13 @@ specifies the parameters that will be used during Diffie-Hellman Ephemeral
142(DHE) key exchange. 154(DHE) key exchange.
143Possible values are: 155Possible values are:
144.Pp 156.Pp
145.Bl -tag -width "legacy" -offset indent -compact 157.Bl -item -offset indent -compact
146.It Dv none 158.It
147.It Dv auto 159.Dv none
148.It Dv legacy 160.It
161.Dv auto
162.It
163.Dv legacy
149.El 164.El
150.Pp 165.Pp
151In 166In