I'm trying to add ssl support to an application that uses non-blocking
sockets on Win32 platform.
I've downloaded the most recent version of the library 0,9.5a and compiled
it on my machine.
These are the steps that I follow:
Initialize the SSL library and create a context.
Connect a socket to the host and wait for the FD_CONNECT message to
be received
which confirms that the connection is done.
Create an SSL session using this socket descriptor.
call SSL_connect()
There is a window's procedure that listens for any incoming traffic on the
socket,
anytime an FD_READ or FD_WRITE is received we will call SSL_read() or
SSL_write().
When the first FD_READ is received we get an SSL_READ error. SSL_ERROR_SSL
if I call ERR_get_error() I get the following hex value 0x24064064.
I can also see in the logging that the handshake was at this point - SSLv3
write client key exchange A -
before we get the read error.
Does anyone have any ideas on what I'm doing wrong?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]