Hi,

Sunil Nimmagadda wrote on Tue, Dec 23, 2014 at 03:57:53PM +0100:

> tls_accept_socket function missing in tls_init(3) manpage.

Since nobody took pity on this patch, i have put it in.

SSL hackers, feel free to improve the wording if needed.

Yours,
  Ingo


> Index: tls_init.3
> ===================================================================
> RCS file: /cvs/src/lib/libtls/tls_init.3,v
> retrieving revision 1.4
> diff -u -p -r1.4 tls_init.3
> --- tls_init.3        11 Nov 2014 04:17:34 -0000      1.4
> +++ tls_init.3        23 Dec 2014 14:39:06 -0000
> @@ -45,6 +45,7 @@
>  .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
> @@ -105,6 +106,8 @@
>  .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"
> @@ -295,6 +298,9 @@ connects a client context to a pair of e
>  .It
>  .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
> 

Reply via email to