summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-01-01 13:30:52 +0000
committerschwarze <schwarze@openbsd.org>2015-01-01 13:30:52 +0000
commit29ba278897a6a98c320aac84cda4549fa1cbf520 (patch)
treec56c42de267e4b3c44002256117514137406a2de /lib/libtls
parentIf man(1) only has one single argument, always interpret it as a name, (diff)
downloadwireguard-openbsd-29ba278897a6a98c320aac84cda4549fa1cbf520.tar.xz
wireguard-openbsd-29ba278897a6a98c320aac84cda4549fa1cbf520.zip
Revert previous; tls_accept_socket() was intentionally undocumented
because the API design isn't fully settled. Requested by jsing@ and tedu@.
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls_init.38
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index 7d62158481a..e8700782257 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.5 2015/01/01 08:42:08 schwarze Exp $
+.\" $OpenBSD: tls_init.3,v 1.6 2015/01/01 13:30:52 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -45,7 +45,6 @@
.Nm tls_connect ,
.Nm tls_connect_fds ,
.Nm tls_connect_socket ,
-.Nm tls_accept_socket ,
.Nm tls_read ,
.Nm tls_write ,
.Nd TLS client and server API
@@ -106,8 +105,6 @@
.Ft "int"
.Fn tls_connect_socket "struct tls *ctx" "int s" "const char *hostname"
.Ft "int"
-.Fn tls_accept_socket "struct tls *ctx" "struct tls **ctx" "int s"
-.Ft "int"
.Fn tls_read "struct tls *ctx" "void *buf" "size_t buflen" "size_t *outlen"
.Ft "int"
.Fn tls_write "struct tls *ctx" "const void *buf" "size_t buflen" "size_t *outlen"
@@ -299,9 +296,6 @@ connects a client context to a pair of existing file descriptors.
.Fn tls_connect_socket
connects a client context to an already established socket connection.
.It
-.Fn tls_accept_socket
-accepts a client context on an already established socket connection.
-.It
.Fn tls_read
reads
.Fa buflen