commit | 6a1e7070c1cdf23cbce46a8be7b974141028c29a | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Thu May 28 17:07:44 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Thu May 28 17:12:09 2015 -0700 |
tree | 0309f17d13cc64526a43271d5f7647a463428894 | |
parent | 0f84dc6107927c2c5ba15ce5254c93f122837602 [diff] |
NativeCrypto: throw exception on RSA op failure A -1 error code should have an error on the stack that explains what the problem was, but if we call through to an ENGINE that fails we seem to end up with no error on the stack. Ensure we throw BadPaddingException in that case. Bug: 19863798 Change-Id: Idecd9072c1e6636351bc90f16037852bdc55e4a0