commit | 3bf1cca2621867d4776a0d939516c8d0add106d5 | [log] [tgz] |
---|---|---|
author | Matt Braithwaite <mab@google.com> | Fri May 08 16:19:18 2015 -0700 |
committer | Adam Langley <agl@google.com> | Sat May 09 00:05:30 2015 +0000 |
tree | 21e78ff644b1f3f8c6de9e4e027c9b3d4be79b88 | |
parent | d100c2498f4523414adfbcf9a9a599f9a3e6a14d [diff] |
Don't report |ERR_R_MALLOC_FAILURE| on failure of |EC_KEY_new_by_curve_name|. Change |EC_KEY_new_by_curve_name| to report |ERR_R_MALLOC_FAILURE| itself, so that reporting of |EC_R_UNKNOWN_GROUP| is not confused by the caller's addition of a spurious |ERR_R_MALLOC_FAILURE|. Change-Id: Id3f5364f01eb8e3597bcddd6484bc03d5578befb Reviewed-on: https://boringssl-review.googlesource.com/4690 Reviewed-by: Adam Langley <agl@google.com>