diff options
Diffstat (limited to 'src/lib/libtls')
| -rw-r--r-- | src/lib/libtls/man/tls_read.3 | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lib/libtls/man/tls_read.3 b/src/lib/libtls/man/tls_read.3 index d928975f3d..f9d949eef5 100644 --- a/src/lib/libtls/man/tls_read.3 +++ b/src/lib/libtls/man/tls_read.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: tls_read.3,v 1.7 2019/07/09 17:58:33 jsing Exp $ | 1 | .\" $OpenBSD: tls_read.3,v 1.8 2023/09/18 17:25:15 schwarze Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2014, 2015 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014, 2015 Ted Unangst <tedu@openbsd.org> |
| 4 | .\" Copyright (c) 2015 Doug Hogan <doug@openbsd.org> | 4 | .\" Copyright (c) 2015 Doug Hogan <doug@openbsd.org> |
| @@ -18,7 +18,7 @@ | |||
| 18 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 18 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 19 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 19 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 20 | .\" | 20 | .\" |
| 21 | .Dd $Mdocdate: July 9 2019 $ | 21 | .Dd $Mdocdate: September 18 2023 $ |
| 22 | .Dt TLS_READ 3 | 22 | .Dt TLS_READ 3 |
| 23 | .Os | 23 | .Os |
| 24 | .Sh NAME | 24 | .Sh NAME |
| @@ -26,8 +26,7 @@ | |||
| 26 | .Nm tls_write , | 26 | .Nm tls_write , |
| 27 | .Nm tls_handshake , | 27 | .Nm tls_handshake , |
| 28 | .Nm tls_error , | 28 | .Nm tls_error , |
| 29 | .Nm tls_close , | 29 | .Nm tls_close |
| 30 | .Nm tls_reset | ||
| 31 | .Nd use a TLS connection | 30 | .Nd use a TLS connection |
| 32 | .Sh SYNOPSIS | 31 | .Sh SYNOPSIS |
| 33 | .In tls.h | 32 | .In tls.h |
| @@ -49,8 +48,6 @@ | |||
| 49 | .Fn tls_error "struct tls *ctx" | 48 | .Fn tls_error "struct tls *ctx" |
| 50 | .Ft int | 49 | .Ft int |
| 51 | .Fn tls_close "struct tls *ctx" | 50 | .Fn tls_close "struct tls *ctx" |
| 52 | .Ft void | ||
| 53 | .Fn tls_reset "struct tls *ctx" | ||
| 54 | .Sh DESCRIPTION | 51 | .Sh DESCRIPTION |
| 55 | .Fn tls_read | 52 | .Fn tls_read |
| 56 | reads | 53 | reads |
| @@ -92,7 +89,6 @@ After closing the connection, | |||
| 92 | .Fa ctx | 89 | .Fa ctx |
| 93 | can be passed to | 90 | can be passed to |
| 94 | .Xr tls_free 3 . | 91 | .Xr tls_free 3 . |
| 95 | .\" XXX Fn tls_reset does what? | ||
| 96 | .Sh RETURN VALUES | 92 | .Sh RETURN VALUES |
| 97 | .Fn tls_read | 93 | .Fn tls_read |
| 98 | and | 94 | and |
| @@ -146,7 +142,7 @@ during or since the last call to | |||
| 146 | .Fn tls_write , | 142 | .Fn tls_write , |
| 147 | .Fn tls_close , | 143 | .Fn tls_close , |
| 148 | or | 144 | or |
| 149 | .Fn tls_reset | 145 | .Xr tls_reset 3 |
| 150 | involving | 146 | involving |
| 151 | .Fa ctx , | 147 | .Fa ctx , |
| 152 | or if memory allocation failed while trying to assemble the string | 148 | or if memory allocation failed while trying to assemble the string |
| @@ -213,9 +209,8 @@ while (len > 0) { | |||
| 213 | .Fn tls_read , | 209 | .Fn tls_read , |
| 214 | .Fn tls_write , | 210 | .Fn tls_write , |
| 215 | .Fn tls_error , | 211 | .Fn tls_error , |
| 216 | .Fn tls_close , | ||
| 217 | and | 212 | and |
| 218 | .Fn tls_reset | 213 | .Fn tls_close |
| 219 | appeared in | 214 | appeared in |
| 220 | .Ox 5.6 | 215 | .Ox 5.6 |
| 221 | and got their final names in | 216 | and got their final names in |
