commit | 49854878b83114e3e15c7ad3ca030352b786b5df | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Fri May 29 19:33:40 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Fri May 29 19:48:38 2015 -0700 |
tree | f321901d4c3f8339537ddabd310be6006d7253f5 | |
parent | 6a1e7070c1cdf23cbce46a8be7b974141028c29a [diff] |
NativeCrypto: return of 0 is error for EVP_Sign/VerifyFinal We need to check the ERR stack on a return code of 0. Previously there was a comment indicating the weird behavior about DSA keys throwing after a check for a return value of -1, but this API is never supposed to return anything other than 1 for success or 0 for failure. Bug: 18869265 Change-Id: Ic871c63b6d65949053819950ed8053f47501bd60