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))
static int sm2_crypt_test(void)
{
- int testresult = 1;
+ int testresult = 0;
EC_GROUP *test_group =
create_EC_group
("8542D69E4C044F18E8B92435BF6FF7DE457283915C45517D722EDB8B08F1DFC3",