summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls_init.3
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-10-16 13:49:53 +0000
committerjsing <jsing@openbsd.org>2015-10-16 13:49:53 +0000
commita19bcac6dbd848e5ffd26f96ea4892fced008b65 (patch)
treeb756fa4465958fcf29a24ef9f485f100ce8c5e22 /lib/libtls/tls_init.3
parentFix tpyo. (diff)
downloadwireguard-openbsd-a19bcac6dbd848e5ffd26f96ea4892fced008b65.tar.xz
wireguard-openbsd-a19bcac6dbd848e5ffd26f96ea4892fced008b65.zip
Put tls_config_verify_client_optional() in the right place.
Diffstat (limited to 'lib/libtls/tls_init.3')
-rw-r--r--lib/libtls/tls_init.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index 81047ba793a..b51e35073b4 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.52 2015/10/16 13:48:44 jsing Exp $
+.\" $OpenBSD: tls_init.3,v 1.53 2015/10/16 13:49:53 jsing Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -388,6 +388,11 @@ enables client certificate verification, requiring the client to send
a certificate.
.Em (Server)
.It
+.Fn tls_config_verify_client_optional
+enables client certificate verification, without requiring the client
+to send a certificate.
+.Em (Server)
+.It
.Fn tls_peer_cert_provided
checks if the peer of
.Ar ctx
@@ -470,11 +475,6 @@ connected to
will only succeed after the handshake is complete.
.Em (Server and client)
.It
-.Fn tls_config_verify_client_optional
-enables client certificate verification, without requiring the client
-to send a certificate.
-.Em (Server)
-.It
.Fn tls_load_file
loads a certificate or key from disk into memory to be loaded with
.Fn tls_config_set_ca_mem ,