Boris wrote:

> Are there any functions I can call to understand what went wrong if
> EVP_DecryptFinal failed and returned 0?
>


From:

http://www.openssl.org/docs/crypto/err.html#

"When a call to the OpenSSL library fails, this is usually signalled by
the return value, and an error code is stored in an error queue
associated with the current thread. The err library provides functions
to obtain these error codes and textual error messages."

Does this help?

Erik Leunissen.
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org