commit | 058faf1e3a8978cca7c9898ccd692fa5b738a180 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Mon Dec 08 14:12:20 2014 -0800 |
committer | Kenny Root <kroot@google.com> | Mon Dec 08 16:14:56 2014 -0800 |
tree | a021e064a3b07db885fc477a6b5d9dc78474301e | |
parent | 53497d005a470123806d23a5d36e86cee88eafbd [diff] |
NativeCrypto: throw BadPaddingException if EVP_CipherFinal_ex fails Since nothing was being pushed onto the stack, no exception was thrown in throwExceptionIfNecessary with the constant time fix present in 1.0.1j. The fix is to throw our own error if nothing was thrown. (cherry picked from commit e74933ecfb7dc7d91ebe6620a91d86fdc735ed58) Bug: 18621207 Change-Id: I25e653c493e162c5fda46f320117c013a2661aa4