summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2021-01-02 19:15:04 +0000
committerkn <kn@openbsd.org>2021-01-02 19:15:04 +0000
commit4a699ee4cb727ac3eedf37bb75e02605dd9d6a3e (patch)
treeba60d13c665a1c830128549d3d4c88e819fe5d37 /lib/libtls
parentIf acme-client detects an added or removed SAN in the config file (diff)
downloadwireguard-openbsd-4a699ee4cb727ac3eedf37bb75e02605dd9d6a3e.tar.xz
wireguard-openbsd-4a699ee4cb727ac3eedf37bb75e02605dd9d6a3e.zip
Make list of DHE parameters more prominent
Follow the previous commit and complete the manual page for consistency; better readable and tags for free. OK tb
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/man/tls_config_set_protocols.325
1 files changed, 19 insertions, 6 deletions
diff --git a/lib/libtls/man/tls_config_set_protocols.3 b/lib/libtls/man/tls_config_set_protocols.3
index 01f6369fe16..a636b06f4e0 100644
--- a/lib/libtls/man/tls_config_set_protocols.3
+++ b/lib/libtls/man/tls_config_set_protocols.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_config_set_protocols.3,v 1.9 2020/12/30 13:38:13 kn Exp $
+.\" $OpenBSD: tls_config_set_protocols.3,v 1.10 2021/01/02 19:15:04 kn Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org>
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 30 2020 $
+.Dd $Mdocdate: January 2 2021 $
.Dt TLS_CONFIG_SET_PROTOCOLS 3
.Os
.Sh NAME
@@ -140,11 +140,24 @@ for further information.
.Fn tls_config_set_dheparams
specifies the parameters that will be used during Diffie-Hellman Ephemeral
(DHE) key exchange.
-Possible values are "none", "auto" and "legacy".
-In "auto" mode, the key size for the ephemeral key is automatically selected
+Possible values are:
+.Pp
+.Bl -tag -width "legacy" -offset indent -compact
+.It Dv none
+.It Dv auto
+.It Dv legacy
+.El
+.Pp
+In
+.Dv auto
+mode, the key size for the ephemeral key is automatically selected
based on the size of the private key being used for signing.
-In "legacy" mode, 1024 bit ephemeral keys are used.
-The default value is "none", which disables DHE key exchange.
+In
+.Dv legacy
+mode, 1024 bit ephemeral keys are used.
+The default value is
+.Dv none ,
+which disables DHE key exchange.
.Pp
.Fn tls_config_set_ecdhecurves
specifies the names of the elliptic curves that may be used during Elliptic