diff options
Diffstat (limited to 'src/lib/libtls/tls_init.3')
| -rw-r--r-- | src/lib/libtls/tls_init.3 | 11 |
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. | |||
| 358 | connects a client context to an already established socket connection. | 358 | connects a client context to an already established socket connection. |
| 359 | .It | 359 | .It |
| 360 | .Fn tls_accept_socket | 360 | .Fn tls_accept_socket |
| 361 | accepts a client context on an already established socket connection. | 361 | creates a new context suitable for reading and writing on an already |
| 362 | established socket connection and returns it in | ||
| 363 | .Fa *cctx . | ||
| 364 | A configured server context should be passed in | ||
| 365 | .Fa ctx | ||
| 366 | and | ||
| 367 | .Fa *cctx | ||
| 368 | should be initialized to NULL. | ||
| 362 | .It | 369 | .It |
| 363 | .Fn tls_read | 370 | .Fn tls_read |
| 364 | reads | 371 | reads |
