commit | 06dc31181752c3e59b4c5b58b24f023640898564 | [log] [tgz] |
---|---|---|
author | Thurston Hou Yeen Dang <thurston@google.com> | Mon Jul 18 14:16:37 2016 -0700 |
committer | Thurston Hou Yeen Dang <thurston@google.com> | Mon Jul 18 14:16:37 2016 -0700 |
tree | 84fc4d965b353487842c6e776319df435c92e9bc | |
parent | 848639bdfc67ec1ecb8d76de25b345a2a0762e2a [diff] |
Call EVP_CIPHER_CTX_cleanup to avoid leaking memory that was allocated in EVP_DecryptInit_ex Also add matching cleanup to EVP_EncryptInit_ex for symmetry (though I'm not convinced it actually leaks memory) Change-Id: Icf72dd9e0295d8b6ea55909266a43e684b16420f