Call BIO_set_nbio() for SSL BIO at startup
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 03:31:29 +0000 (22:31 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:46:24 +0000 (23:46 -0500)
commit4076e30fc545253796c6ad31feb462141fdcab08
tree3933ee61b57cd1c227e2432a17e230131c078d2a
parent5dbf9302e5a20c2e022afbe82e91ac352bc76b76
Call BIO_set_nbio() for SSL BIO at startup

Oops, this was still in CSTP code where we *used* to make the socket
non-blocking, and now it should be like that from the beginning.

It's not entirely clear what difference it makes; all my testing of the
non-blocking code through authentication and CSTP connection was working
fine in non-blocking mode without it, when all I'd done was set O_NONBLOCK
on the socket.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
ssl.c