My apologies Daryl, your code will work correctly.
I based the solution off my code which does:
int rval;
if ((rval = SSL_connect(con)) > 0)
{
// good return
}
else
{
int err = SSL_get_error(con, rval);
/* handle the error here */
}
Must be slipping in my old age ;p
-----Original Message-----
From: Daryl Odnert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 3:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: HELP, SSL_connect fails !
It works in my application.
Daryl
-----Original Message-----
From: Jeff Roberts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 11:47 AM
To: [EMAIL PROTECTED]
Subject: re[4]: HELP, SSL_connect fails !
Is this the right coding or not ?
int rval;
if ((rval = SSL_connect(con)) != 1)
{
int err = SSL_get_error(con, rval);
/* handle the error here */
}
else
{
// good return
}
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
*****************************************************************
DISCLAIMER: The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee. Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized. If you are not the intended recipient please
notify us immediately by returning the e-mail to the originator.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]