summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_init.3
diff options
context:
space:
mode:
authorbeck <>2015-09-10 10:59:22 +0000
committerbeck <>2015-09-10 10:59:22 +0000
commitb7f746543bde6f57a62b85be0b7f48844180f2a0 (patch)
tree6b5726cb80f4c19a53329fd4497ee1da5d5546dc /src/lib/libtls/tls_init.3
parentffbb5cea377ce5384766b197519c10264d878196 (diff)
downloadopenbsd-b7f746543bde6f57a62b85be0b7f48844180f2a0.tar.gz
openbsd-b7f746543bde6f57a62b85be0b7f48844180f2a0.tar.bz2
openbsd-b7f746543bde6f57a62b85be0b7f48844180f2a0.zip
comment for errno clobbering, to indicate why we do this.
ok deraadt@ jsing@
Diffstat (limited to 'src/lib/libtls/tls_init.3')
-rw-r--r--src/lib/libtls/tls_init.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3
index 17822d444d..1c27c9be2c 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.26 2015/09/10 09:10:42 jsing Exp $ 1.\" $OpenBSD: tls_init.3,v 1.27 2015/09/10 10:59:22 beck Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -435,16 +435,16 @@ and
435function families, have two special return values: 435function families, have two special return values:
436.Pp 436.Pp
437.Bl -tag -width "TLS_WRITE_AGAIN" -offset indent -compact 437.Bl -tag -width "TLS_WRITE_AGAIN" -offset indent -compact
438.It Dv TLS_READ_AGAIN 438.It Dv TLS_WANT_POLLIN
439A read operation is necessary to continue. 439A read operation is necessary to continue.
440.It Dv TLS_WRITE_AGAIN 440.It Dv TLS_WANT_POLLOUT
441A write operation is necessary to continue. 441A write operation is necessary to continue.
442.El 442.El
443.Pp 443.Pp
444There are underlying TLS engine read or write operations which may 444There are underlying TLS engine read or write operations which may
445not correspond with the name of the function called. 445not correspond with the name of the function called.
446For example, it is possible to receive a 446For example, it is possible to receive a
447.Dv TLS_READ_AGAIN 447.Dv TLS_WANT_POLLIN
448even when calling 448even when calling
449.Fn tls_write . 449.Fn tls_write .
450.Pp 450.Pp