SSL_connect returns -1 and it due to SSL_ERROR_WANT_READ

Sunil Vasantha Sunil.Vasantha at
Mon Jul 7 05:11:03 EDT 2008

I'm facing a issie while using openssl through X supplicant
The scenario is 
Iam calling "SSL_get_error()" just after "SSL_connect()". The return value 
is 2 which is nothing but the error "SSL_ERROR_WANT_READ". 
This happens after client has received "server hello, servercertificate, 
server key exchange,server request, server hello done" messages from 
The last state displayed is "SSLv3 read server certificate A". The next 
state transition which is "SSLv3 read server key exchange A" is not 
I checked replacing the certificates also but still I am facing the same 

suggestionas or idea to debug  will be a great help

Sunil Vasanta

Larsen & Toubro Infotech Ltd.

This Document is classified as: 

L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech 
Internal Use Only   L&T Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hybrid mailing list