summary refs log tree commit diff
path: root/man/tls_read.3
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2026-06-01 14:36:58 -0400
committerJune McEnroe <june@causal.agency>2026-06-01 14:36:58 -0400
commitdcd11ea62fce539d9a50f41a822853239e05727a (patch)
treee54578b730a4719e4bc8a2d20fef267c8db7f22f /man/tls_read.3
parentImport LibreSSL 3.8.1 (diff)
downloadlibretls-dcd11ea62fce539d9a50f41a822853239e05727a.tar.gz
libretls-dcd11ea62fce539d9a50f41a822853239e05727a.zip
Import LibreSSL 3.8.2
Diffstat (limited to 'man/tls_read.3')
-rw-r--r--man/tls_read.315
1 files changed, 5 insertions, 10 deletions
diff --git a/man/tls_read.3 b/man/tls_read.3
index d928975..f9d949e 100644
--- a/man/tls_read.3
+++ b/man/tls_read.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_read.3,v 1.7 2019/07/09 17:58:33 jsing Exp $
+.\" $OpenBSD: tls_read.3,v 1.8 2023/09/18 17:25:15 schwarze Exp $
 .\"
 .\" Copyright (c) 2014, 2015 Ted Unangst <tedu@openbsd.org>
 .\" Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
@@ -18,7 +18,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: July 9 2019 $
+.Dd $Mdocdate: September 18 2023 $
 .Dt TLS_READ 3
 .Os
 .Sh NAME
@@ -26,8 +26,7 @@
 .Nm tls_write ,
 .Nm tls_handshake ,
 .Nm tls_error ,
-.Nm tls_close ,
-.Nm tls_reset
+.Nm tls_close
 .Nd use a TLS connection
 .Sh SYNOPSIS
 .In tls.h
@@ -49,8 +48,6 @@
 .Fn tls_error "struct tls *ctx"
 .Ft int
 .Fn tls_close "struct tls *ctx"
-.Ft void
-.Fn tls_reset "struct tls *ctx"
 .Sh DESCRIPTION
 .Fn tls_read
 reads
@@ -92,7 +89,6 @@ After closing the connection,
 .Fa ctx
 can be passed to
 .Xr tls_free 3 .
-.\" XXX Fn tls_reset does what?
 .Sh RETURN VALUES
 .Fn tls_read
 and
@@ -146,7 +142,7 @@ during or since the last call to
 .Fn tls_write ,
 .Fn tls_close ,
 or
-.Fn tls_reset
+.Xr tls_reset 3
 involving
 .Fa ctx ,
 or if memory allocation failed while trying to assemble the string
@@ -213,9 +209,8 @@ while (len > 0) {
 .Fn tls_read ,
 .Fn tls_write ,
 .Fn tls_error ,
-.Fn tls_close ,
 and
-.Fn tls_reset
+.Fn tls_close
 appeared in
 .Ox 5.6
 and got their final names in