summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeck <>2015-09-11 09:02:10 +0000
committerbeck <>2015-09-11 09:02:10 +0000
commitc041f863310ba8ab2a1bce7605887f1deff68a38 (patch)
tree641e914d9ddb7683b65bf1c62a4f8a741612f8d8
parent7d650fd3beb2853e2cba89979946fc1eeee91650 (diff)
downloadopenbsd-c041f863310ba8ab2a1bce7605887f1deff68a38.tar.gz
openbsd-c041f863310ba8ab2a1bce7605887f1deff68a38.tar.bz2
openbsd-c041f863310ba8ab2a1bce7605887f1deff68a38.zip
specify what is permitted as an argument to tls_config_set_ciphers()
-rw-r--r--src/lib/libtls/tls_init.312
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3
index b6e9e5d276..6197817f6f 100644
--- a/src/lib/libtls/tls_init.3
+++ b/src/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_init.3,v 1.36 2015/09/11 07:09:05 jmc Exp $ 1.\" $OpenBSD: tls_init.3,v 1.37 2015/09/11 09:02:10 beck Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -281,6 +281,16 @@ sets the public certificate directly from memory.
281.It 281.It
282.Fn tls_config_set_ciphers 282.Fn tls_config_set_ciphers
283sets the list of ciphers that may be used. 283sets the list of ciphers that may be used.
284Lists of ciphers are specified by name, and the
285permitted names are:
286.Pp
287.Bl -tag -width "default" -offset indent -compact
288.It Dv "secure"
289.It Dv "default" (an alias for secure)
290.It Dv "legacy"
291.It Dv "compat" (an alias for legacy)
292.El
293.Pp
284.Em (Client and server) 294.Em (Client and server)
285.It 295.It
286.Fn tls_config_set_key_file 296.Fn tls_config_set_key_file