From: Vitaly Chikunov Date: Sat, 2 Feb 2019 16:41:27 +0000 (+0300) Subject: test_curves: Fix forgotten comparison in test X-Git-Tag: v3.0.0~307^2~1 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=d798e0186d61549dcbe74c3e83c4b2316e70bed7;p=openssl-gost%2Fengine.git test_curves: Fix forgotten comparison in test --- 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;