From d798e0186d61549dcbe74c3e83c4b2316e70bed7 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Sat, 2 Feb 2019 19:41:27 +0300 Subject: [PATCH] test_curves: Fix forgotten comparison in test --- test_curves.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test_curves.c b/test_curves.c index 7c57c34..d215fe4 100644 --- a/test_curves.c +++ b/test_curves.c @@ -191,6 +191,7 @@ static int parameter_test(struct test_curve *tc) BN_add(k2, k2, order); T(EC_POINT_mul(group, p1, NULL, generator, k1, ctx)); T(EC_POINT_mul(group, p2, NULL, generator, k2, ctx)); + T(EC_POINT_cmp(group, p1, p2, ctx) == 0); /* Cofactor is 1 or 4 */ const BIGNUM *c; -- 2.39.5