summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorBodo Moeller <bmoeller@google.com>2013-09-16 12:59:21 +0200
committerBodo Moeller <bodo@openssl.org>2013-09-17 10:20:04 +0200
commitff7b021040807132b86720c5c95664c28d0cf342 (patch)
treeededf4dfbf4269dcbf780fe591b8e682a4c1b2e8 /ssl/t1_lib.c
parente7e4d506d6f7cf1e2b2f750291eea7c72d02e20e (diff)
Fix overly lenient comparisons:
- EC_GROUP_cmp shouldn't consider curves equal just because the curve name is the same. (They really *should* be the same in this case, but there's an EC_GROUP_set_curve_name API, which could be misused.) - EC_POINT_cmp shouldn't return 0 for ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED or EC_R_INCOMPATIBLE_OBJECTS errors because in a cmp API, 0 indicates equality (not an error). Reported by: king cope (cherry picked from commit ca567a03ad4595589b6062465a8404764da4e3fa) Conflicts: Configure
Diffstat (limited to 'ssl/t1_lib.c')
0 files changed, 0 insertions, 0 deletions