summaryrefslogtreecommitdiff
path: root/src/lib/libtls/man
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/man')
-rw-r--r--src/lib/libtls/man/tls_config_set_protocols.319
1 files changed, 13 insertions, 6 deletions
diff --git a/src/lib/libtls/man/tls_config_set_protocols.3 b/src/lib/libtls/man/tls_config_set_protocols.3
index b2f31eabd5..e16abe44d5 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.3 2017/01/28 00:59:36 schwarze Exp $ 1.\" $OpenBSD: tls_config_set_protocols.3,v 1.4 2017/08/10 18:18:30 jsing 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 28 2017 $ 19.Dd $Mdocdate: August 10 2017 $
20.Dt TLS_CONFIG_SET_PROTOCOLS 3 20.Dt TLS_CONFIG_SET_PROTOCOLS 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -25,7 +25,7 @@
25.Nm tls_config_set_alpn , 25.Nm tls_config_set_alpn ,
26.Nm tls_config_set_ciphers , 26.Nm tls_config_set_ciphers ,
27.Nm tls_config_set_dheparams , 27.Nm tls_config_set_dheparams ,
28.Nm tls_config_set_ecdhecurve , 28.Nm tls_config_set_ecdhecurves ,
29.Nm tls_config_prefer_ciphers_client , 29.Nm tls_config_prefer_ciphers_client ,
30.Nm tls_config_prefer_ciphers_server 30.Nm tls_config_prefer_ciphers_server
31.Nd TLS protocol and cipher selection 31.Nd TLS protocol and cipher selection
@@ -57,9 +57,9 @@
57.Fa "const char *params" 57.Fa "const char *params"
58.Fc 58.Fc
59.Ft int 59.Ft int
60.Fo tls_config_set_ecdhecurve 60.Fo tls_config_set_ecdhecurves
61.Fa "struct tls_config *config" 61.Fa "struct tls_config *config"
62.Fa "const char *name" 62.Fa "const char *curves"
63.Fc 63.Fc
64.Ft void 64.Ft void
65.Fn tls_config_prefer_ciphers_client "struct tls_config *config" 65.Fn tls_config_prefer_ciphers_client "struct tls_config *config"
@@ -126,7 +126,14 @@ See the CIPHERS section of
126.Xr openssl 1 126.Xr openssl 1
127for further information. 127for further information.
128.\" XXX tls_config_set_dheparams does what? 128.\" XXX tls_config_set_dheparams does what?
129.\" XXX tls_config_set_ecdhecurve does what? 129.Pp
130.Fn tls_config_set_ecdhecurves
131specifies the names of the elliptic curves that may be used during key exchange.
132This is a comma separated list, given in order of preference.
133The special value of "default" will use the default curves (currently X25519,
134P-256 and P-384). This function replaces
135.Fn tls_config_set_ecdhecurve ,
136which is deprecated.
130.Pp 137.Pp
131.Fn tls_config_prefer_ciphers_client 138.Fn tls_config_prefer_ciphers_client
132prefers ciphers in the client's cipher list when selecting a cipher suite 139prefers ciphers in the client's cipher list when selecting a cipher suite