diff options
author | Matt Caswell <matt@openssl.org> | 2018-07-30 16:40:18 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-07-31 09:08:38 +0100 |
commit | 9cc570d4c419e2ca97e2173dc14c484195502dd4 (patch) | |
tree | c5ca35dd93fa1305ce979ff094e1755fb5b03c13 /test/sm2_internal_test.c | |
parent | de34e45a64f0865264b826255adbe7aee7470780 (diff) | |
download | openssl-9cc570d4c419e2ca97e2173dc14c484195502dd4.tar.gz |
Use the new non-curve type specific EC functions internally
Fixes #6646
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6815)
Diffstat (limited to 'test/sm2_internal_test.c')
-rw-r--r-- | test/sm2_internal_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sm2_internal_test.c b/test/sm2_internal_test.c index ea8ac7df88..0d145e8553 100644 --- a/test/sm2_internal_test.c +++ b/test/sm2_internal_test.c @@ -107,8 +107,8 @@ static EC_GROUP *create_EC_group(const char *p_hex, const char *a_hex, if (!TEST_true(BN_hex2bn(&g_x, x_hex)) || !TEST_true(BN_hex2bn(&g_y, y_hex)) - || !TEST_true(EC_POINT_set_affine_coordinates_GFp(group, generator, - g_x, g_y, NULL))) + || !TEST_true(EC_POINT_set_affine_coordinates(group, generator, g_x, + g_y, NULL))) goto done; if (!TEST_true(BN_hex2bn(&order, order_hex)) |