commit | 95e18c52f252a8069a97cbb4a9ce6af668224981 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sat Jan 10 23:37:17 2015 -0500 |
committer | Adam Langley <agl@google.com> | Mon Jan 12 22:29:10 2015 +0000 |
tree | d80100dd07ea83983f4f129638808bfec2a580be | |
parent | ca9a538aa0f2ebdd261783efa032e69a2ea17fbc [diff] |
Fix DER checks for DSA_check_signature and add tests. DSA_verify and DSA_check_signature didn't share a codepath, so the fix was only applied to the former. Implement verify in terms of check_signature and add tests for bad DER variants. Change-Id: I6577f96b13b57fc89a5308bd8a7c2318defa7ee1 Reviewed-on: https://boringssl-review.googlesource.com/2820 Reviewed-by: Adam Langley <agl@google.com>