diff options
author | schwarze <> | 2015-01-01 13:30:52 +0000 |
---|---|---|
committer | schwarze <> | 2015-01-01 13:30:52 +0000 |
commit | 0deeaed214fd9ab86585bf0ed974091def3c15be (patch) | |
tree | 1558ad9839aab6a98cec6c521c7f07cc7befe36c /src/lib/libtls/tls_init.3 | |
parent | 1c44fa1e2024b5b38d805aeaf460fc523b4409f8 (diff) | |
download | openbsd-0deeaed214fd9ab86585bf0ed974091def3c15be.tar.gz openbsd-0deeaed214fd9ab86585bf0ed974091def3c15be.tar.bz2 openbsd-0deeaed214fd9ab86585bf0ed974091def3c15be.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 'src/lib/libtls/tls_init.3')
-rw-r--r-- | src/lib/libtls/tls_init.3 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3 index 7d62158481..e870078225 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.5 2015/01/01 08:42:08 schwarze Exp $ | 1 | .\" $OpenBSD: tls_init.3,v 1.6 2015/01/01 13:30:52 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -45,7 +45,6 @@ | |||
45 | .Nm tls_connect , | 45 | .Nm tls_connect , |
46 | .Nm tls_connect_fds , | 46 | .Nm tls_connect_fds , |
47 | .Nm tls_connect_socket , | 47 | .Nm tls_connect_socket , |
48 | .Nm tls_accept_socket , | ||
49 | .Nm tls_read , | 48 | .Nm tls_read , |
50 | .Nm tls_write , | 49 | .Nm tls_write , |
51 | .Nd TLS client and server API | 50 | .Nd TLS client and server API |
@@ -106,8 +105,6 @@ | |||
106 | .Ft "int" | 105 | .Ft "int" |
107 | .Fn tls_connect_socket "struct tls *ctx" "int s" "const char *hostname" | 106 | .Fn tls_connect_socket "struct tls *ctx" "int s" "const char *hostname" |
108 | .Ft "int" | 107 | .Ft "int" |
109 | .Fn tls_accept_socket "struct tls *ctx" "struct tls **ctx" "int s" | ||
110 | .Ft "int" | ||
111 | .Fn tls_read "struct tls *ctx" "void *buf" "size_t buflen" "size_t *outlen" | 108 | .Fn tls_read "struct tls *ctx" "void *buf" "size_t buflen" "size_t *outlen" |
112 | .Ft "int" | 109 | .Ft "int" |
113 | .Fn tls_write "struct tls *ctx" "const void *buf" "size_t buflen" "size_t *outlen" | 110 | .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. | |||
299 | .Fn tls_connect_socket | 296 | .Fn tls_connect_socket |
300 | connects a client context to an already established socket connection. | 297 | connects a client context to an already established socket connection. |
301 | .It | 298 | .It |
302 | .Fn tls_accept_socket | ||
303 | accepts a client context on an already established socket connection. | ||
304 | .It | ||
305 | .Fn tls_read | 299 | .Fn tls_read |
306 | reads | 300 | reads |
307 | .Fa buflen | 301 | .Fa buflen |