Erik Leunissen wrote:
> 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?


Thanks, Erik! Maybe it would be a good idea to add this link to the "return
values" section of http://www.openssl.org/docs/crypto/EVP_EncryptInit.html
which explains only that 0 means failure.

Boris



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