summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2015-09-10 11:00:54 +0000
committerbeck <beck@openbsd.org>2015-09-10 11:00:54 +0000
commit7d11ad8c6a64e5f625ab30733cad06b35ff5631f (patch)
treef9e4c1377c25e63f8c63665b3ff5bc4ffe101c93 /lib/libtls
parentcomment for errno clobbering, to indicate why we do this. (diff)
downloadwireguard-openbsd-7d11ad8c6a64e5f625ab30733cad06b35ff5631f.tar.xz
wireguard-openbsd-7d11ad8c6a64e5f625ab30733cad06b35ff5631f.zip
revert accidental commit
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls_init.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index 1c27c9be2c8..d3217687555 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.27 2015/09/10 10:59:22 beck Exp $
+.\" $OpenBSD: tls_init.3,v 1.28 2015/09/10 11:00:54 beck Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -435,16 +435,16 @@ and
function families, have two special return values:
.Pp
.Bl -tag -width "TLS_WRITE_AGAIN" -offset indent -compact
-.It Dv TLS_WANT_POLLIN
+.It Dv TLS_READ_AGAIN
A read operation is necessary to continue.
-.It Dv TLS_WANT_POLLOUT
+.It Dv TLS_WRITE_AGAIN
A write operation is necessary to continue.
.El
.Pp
There are underlying TLS engine read or write operations which may
not correspond with the name of the function called.
For example, it is possible to receive a
-.Dv TLS_WANT_POLLIN
+.Dv TLS_READ_AGAIN
even when calling
.Fn tls_write .
.Pp