diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libtls/tls_init.3 | 10 |
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 . |
| 256 | Calling | 256 | Calling |
| 257 | .Fn tls_connect_cbs | 257 | .Fn tls_connect_cbs |
| 258 | allows 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. | 258 | allows specifying read and write callback functions to handle data transfer. |
| 259 | The specified cb_arg parameter is passed back to the functions, and can contain | ||
| 260 | a pointer to any caller-specified data. | ||
| 259 | .Pp | 261 | .Pp |
| 260 | A server can accept a new client connection by calling | 262 | A 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 . |
| 266 | Calling | 268 | Calling |
| 267 | .Fn tls_accept_cbs | 269 | .Fn tls_accept_cbs |
| 268 | allows 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. | 270 | allows specifying read and write callback functions to handle data transfer. |
| 271 | The specified cb_arg parameter is passed back to the functions, and can contain | ||
| 272 | a pointer to any caller-specified data. | ||
| 269 | .Pp | 273 | .Pp |
| 270 | The TLS handshake can be completed by calling | 274 | The TLS handshake can be completed by calling |
| 271 | .Fn tls_handshake . | 275 | .Fn tls_handshake . |
