summaryrefslogtreecommitdiff
path: root/lib/libtls
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2023-09-18 17:25:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2023-09-18 17:25:16 +0000
commit06e922d7965ba4252017137037b59799c05047ea (patch)
tree7f90adc7f556d714b2c1daeabc2a426780dc9ba5 /lib/libtls
parent836c1c9d513bf271bc6d748f5be53c1a62b87f6a (diff)
remove tls_reset(3) from the NAME, SYNOPSIS, and HISTORY sections
because it is documented in the separate tls_client(3) manual page
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/man/tls_read.315
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/libtls/man/tls_read.3 b/lib/libtls/man/tls_read.3
index d928975f3d0..f9d949eef55 100644
--- a/lib/libtls/man/tls_read.3
+++ b/lib/libtls/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