commit | 1305c13103f60a670ba6ebb18cf2821728e92d06 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Fri May 29 19:33:40 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Mon Jun 01 12:22:09 2015 -0700 |
tree | d1a7c3124bc61c917acae43b28db1a09e464f3b8 | |
parent | d5d7063db8a1f087e07121da667152929daba261 [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. (cherry picked from commit 49854878b83114e3e15c7ad3ca030352b786b5df) Bug: 18869265 Change-Id: Ic871c63b6d65949053819950ed8053f47501bd60