I am calling the ERR_get_error() to get the error, but it returns a 0 ? My code looks 
as follows:

if(!SSL_connect(con))
{
        ERR_no = ERR_get_error();
        if(ERR_no)
        {
                //never gets here !!!!!
                err=ERR_no;
                dojournal(ERR_error_string(ERR_no,NULL));
                while(ERR_no = ERR_get_error())
                        dojournal(ERR_error_string(ERR_no,NULL));
        }
}
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to