summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2023-09-18 17:25:15 +0000
committerschwarze <>2023-09-18 17:25:15 +0000
commit2c53189466ff2818c0f9ec5a155f5ee933aeb608 (patch)
tree2d5a075e46b2f0c14f2036d8c84f0d983175d473
parentb60447c1e40728ad5a2fa989b4805ab4abf5b29f (diff)
downloadopenbsd-2c53189466ff2818c0f9ec5a155f5ee933aeb608.tar.gz
openbsd-2c53189466ff2818c0f9ec5a155f5ee933aeb608.tar.bz2
openbsd-2c53189466ff2818c0f9ec5a155f5ee933aeb608.zip
remove tls_reset(3) from the NAME, SYNOPSIS, and HISTORY sections
because it is documented in the separate tls_client(3) manual page
-rw-r--r--src/lib/libtls/man/tls_read.315
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
56reads 53reads
@@ -92,7 +89,6 @@ After closing the connection,
92.Fa ctx 89.Fa ctx
93can be passed to 90can 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
98and 94and
@@ -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 ,
148or 144or
149.Fn tls_reset 145.Xr tls_reset 3
150involving 146involving
151.Fa ctx , 147.Fa ctx ,
152or if memory allocation failed while trying to assemble the string 148or 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 ,
217and 212and
218.Fn tls_reset 213.Fn tls_close
219appeared in 214appeared in
220.Ox 5.6 215.Ox 5.6
221and got their final names in 216and got their final names in