Re: ressl: two way fds extention

2014-11-02 Thread Joel Sing
On Sat, 1 Nov 2014, Jan Klemkow wrote: On Fri, Oct 31, 2014 at 09:18:26PM -0700, Doug Hogan wrote: On Sat, Nov 01, 2014 at 03:07:24AM +0100, Jan Klemkow wrote: Index: tls_client.c === RCS file:

Re: ressl: two way fds extention

2014-11-01 Thread Jan Klemkow
On Fri, Oct 31, 2014 at 09:18:26PM -0700, Doug Hogan wrote: On Sat, Nov 01, 2014 at 03:07:24AM +0100, Jan Klemkow wrote: Index: tls_client.c === RCS file: /cvs/src/lib/libtls/tls_client.c,v retrieving revision 1.1 diff -u

Re: ressl: two way fds extention

2014-10-31 Thread Joel Sing
On Thu, 30 Oct 2014, Jan Klemkow wrote: Hello, This diff enables libressl to use two file descriptors for read and write. This is feature is necessary for communication over two pipes like in the UCSPI protocol [1]. resslc[3] is a general ssl-client. +---+ ++

Re: ressl: two way fds extention

2014-10-31 Thread Jan Klemkow
Hi Joel, On Sat, Nov 01, 2014 at 03:28:04AM +1100, Joel Sing wrote: How about this API - instead of having a (now) tls_set_fds() function and then calling tls_connect_socket(), you call tls_connect_fds() directly if you need that functionality? Yes, your approach fits perfectly my needs and

Re: ressl: two way fds extention

2014-10-31 Thread Doug Hogan
On Sat, Nov 01, 2014 at 03:07:24AM +0100, Jan Klemkow wrote: Index: tls_client.c === RCS file: /cvs/src/lib/libtls/tls_client.c,v retrieving revision 1.1 diff -u -p -r1.1 tls_client.c --- tls_client.c 31 Oct 2014 13:46:17

ressl: two way fds extention

2014-10-29 Thread Jan Klemkow
Hello, This diff enables libressl to use two file descriptors for read and write. This is feature is necessary for communication over two pipes like in the UCSPI protocol [1]. resslc[3] is a general ssl-client. +---+ ++ ++ | tcpserver | -- | resslc | -- | client