As an OpenSSL newbie, I'm trouble that the man pages for SSL_write()
and SSL_read() don't stress that you should clear the error stack upon
a failed call. They suggest you check SSL_get_error(), but they make
no mention of clearing the error stack afterward, and I hear that
clearing the error stack _every time_ is absolutely curtail to keeping
OpenSSL in a sane state.

Is it really the case that the error stack needs to be cleared, and
the read/write docs just don't mention it?

Or is it the case that the read/write docs don't mention it precisely
because it's not important?

-Patrick
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to