Hi In non-blocking mode, for client we call SSL_connect
In case SSL_connect returns -1 with SSL_ERROR_WANT_READ u need to wait in Select and once the sock fd is readable, u again need to all SSL_connect till the SSL_connect returns success or some other error code (except read or write wait).. So we are calling SSL_Connect 2-3 times in Non blocking mode... HTH Krishna On 8/13/06, Frank Büttner <[EMAIL PROTECTED]> wrote:
Krishna M Singh schrieb: > Hi > > You need to call SSL_Connect (if client) or SSL_accept( if server) and > not the SSL_read.. SSL_Connection or ssl_accept internally performs > that.. > > If u do SSL_read before SSL handshake completion, the SSL connection > can't be established.. > > HTH > -Krishna SSL_Connect is called before and this call result in an SSL_ERROR_WANT_READ error.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]