Boris wrote:

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


"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
User Support Mailing List
Automated List Manager