Thanks, Steve and Marek, only I wonder now if this documentation might then be misleading in the man page:

       EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal() behave in a
       similar way to EVP_EncryptFinal_ex(), EVP_DecryptFinal_ex() and
       EVP_CipherFinal_ex() except ctx is automatically cleaned up after the
       call.

Maybe this could be changed somehow?

Thanks again,
Lee



You need to call EVP_CIPHER_CTX_cleanup() to free up any memory associated
with the ctx.



---
"There is nothing remarkable about it. All one has to do is press the right keys at the right time and the computer programs itself." (ala J.S. Bach)

Unless otherwise stated, any views presented in this e-mail are solely those of the author and do not necessarily represent those of the company.

Reply via email to