From 9cc570d4c419e2ca97e2173dc14c484195502dd4 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 30 Jul 2018 16:40:18 +0100 Subject: Use the new non-curve type specific EC functions internally Fixes #6646 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6815) --- test/ecstresstest.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'test/ecstresstest.c') diff --git a/test/ecstresstest.c b/test/ecstresstest.c index 3c6d2d5a59..fce64e6bb5 100644 --- a/test/ecstresstest.c +++ b/test/ecstresstest.c @@ -45,16 +45,15 @@ static BIGNUM *walk_curve(const EC_GROUP *group, EC_POINT *point, int64_t num) int64_t i; if (!TEST_ptr(scalar = BN_new()) - || !TEST_true(EC_POINT_get_affine_coordinates_GFp(group, point, - scalar, - NULL, NULL))) + || !TEST_true(EC_POINT_get_affine_coordinates(group, point, scalar, + NULL, NULL))) goto err; for (i = 0; i < num; i++) { if (!TEST_true(EC_POINT_mul(group, point, NULL, point, scalar, NULL)) - || !TEST_true(EC_POINT_get_affine_coordinates_GFp(group, point, - scalar, - NULL, NULL))) + || !TEST_true(EC_POINT_get_affine_coordinates(group, point, + scalar, + NULL, NULL))) goto err; } return scalar; -- cgit v1.2.3