Non empty error stack failing non-blocking SSL IO

2011-01-03 Thread Uri Simchoni
I'm using OpenSSL 0.9.8i, and have noticed the following scenario: - Some OpenSSL crypto function returns with an error, leaving a description of the error on the error queue - The application neglects to call ERR_clear_error() - SSL_read() is then called on a

RE: Non empty error stack failing non-blocking SSL IO

2011-01-03 Thread Uri Simchoni
the SSL session is in an error state. (The reason for the queue is because you're supposed to be interested in and handle every error that comes up in the process, not merely the most-recent.) -Kyle H On Mon, Jan 3, 2011 at 4:22 AM, Uri Simchoni u...@ctera.com wrote: I’m using OpenSSL 0.9.8i