const EC_GROUP *group = EC_KEY_get0_group(ec);
int curve_name = EC_GROUP_get_curve_name(group);
err = curve_name == t->nid;
const EC_GROUP *group = EC_KEY_get0_group(ec);
int curve_name = EC_GROUP_get_curve_name(group);
err = curve_name == t->nid;
print_test_tf(err, curve_name, "match", "mismatch");
ret |= !err;
print_test_tf(err, curve_name, "match", "mismatch");
ret |= !err;