summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libtls/tls_init.311
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3
index 71aab47c41..52220fa449 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.16 2015/02/21 19:58:39 tedu Exp $ 1.\" $OpenBSD: tls_init.3,v 1.17 2015/02/21 21:41:00 tedu Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -358,7 +358,14 @@ connects a client context to a pair of existing file descriptors.
358connects a client context to an already established socket connection. 358connects a client context to an already established socket connection.
359.It 359.It
360.Fn tls_accept_socket 360.Fn tls_accept_socket
361accepts a client context on an already established socket connection. 361creates a new context suitable for reading and writing on an already
362established socket connection and returns it in
363.Fa *cctx .
364A configured server context should be passed in
365.Fa ctx
366and
367.Fa *cctx
368should be initialized to NULL.
362.It 369.It
363.Fn tls_read 370.Fn tls_read
364reads 371reads