[EMAIL PROTECTED]:
> Maybe I am blind, but I have not been able to locate a list of
> errors that are returned by SSL_get_error(). If anyone can point me
> in the right direction I would appreciate it.
What about the implementation of SSL_get_error? Or ssl.h.
#define SSL_ERROR_NONE 0
#define SSL_ERROR_SSL 1
#define SSL_ERROR_WANT_READ 2
#define SSL_ERROR_WANT_WRITE 3
#define SSL_ERROR_WANT_X509_LOOKUP 4
#define SSL_ERROR_SYSCALL 5 /* look at error stack/return value/errno */
#define SSL_ERROR_ZERO_RETURN 6
#define SSL_ERROR_WANT_CONNECT 7
> Alternatively, can anyone tell me what an error 6 is after a call to SSL_read()?
It means that the connection was cleanly closed (if it is closed
without proper closure alerts [if available -- SSLv3/TLS], you get a
"real" error instead).
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]