summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libtls/tls_init.310
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3
index 762a76633b..9ce9bc3462 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.69 2016/09/04 12:26:43 bcook Exp $ 1.\" $OpenBSD: tls_init.3,v 1.70 2016/09/04 12:48:50 jsing Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -255,7 +255,9 @@ file descriptors by calling
255.Fn tls_connect_fds . 255.Fn tls_connect_fds .
256Calling 256Calling
257.Fn tls_connect_cbs 257.Fn tls_connect_cbs
258allows specifying read and write callback functions to handle data transfer. The specified cb_arg parameter is passed back to the functions, and can contain a pointer to any caller-specified data. 258allows specifying read and write callback functions to handle data transfer.
259The specified cb_arg parameter is passed back to the functions, and can contain
260a pointer to any caller-specified data.
259.Pp 261.Pp
260A server can accept a new client connection by calling 262A server can accept a new client connection by calling
261.Fn tls_accept_socket 263.Fn tls_accept_socket
@@ -265,7 +267,9 @@ file descriptors by calling
265.Fn tls_accept_fds . 267.Fn tls_accept_fds .
266Calling 268Calling
267.Fn tls_accept_cbs 269.Fn tls_accept_cbs
268allows specifying read and write callback functions to handle data transfer. The specified cb_arg parameter is passed back to the functions, and can contain a pointer to any caller-specified data. 270allows specifying read and write callback functions to handle data transfer.
271The specified cb_arg parameter is passed back to the functions, and can contain
272a pointer to any caller-specified data.
269.Pp 273.Pp
270The TLS handshake can be completed by calling 274The TLS handshake can be completed by calling
271.Fn tls_handshake . 275.Fn tls_handshake .