From 78a67f356524fd6f4467f34cb41cb82cf014b9f4 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 29 Dec 2021 22:48:09 +0000 Subject: [PATCH] Set failed in test_random_points() CID 345141 --- regress/lib/libcrypto/ec/ec_point_conversion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/ec/ec_point_conversion.c b/regress/lib/libcrypto/ec/ec_point_conversion.c index 221bfc64569..8327ac43369 100644 --- a/regress/lib/libcrypto/ec/ec_point_conversion.c +++ b/regress/lib/libcrypto/ec/ec_point_conversion.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_point_conversion.c,v 1.5 2021/05/03 14:51:47 tb Exp $ */ +/* $OpenBSD: ec_point_conversion.c,v 1.6 2021/12/29 22:48:09 tb Exp $ */ /* * Copyright (c) 2021 Theo Buehler * Copyright (c) 2021 Joel Sing @@ -227,7 +227,7 @@ test_random_points(void) EC_get_builtin_curves(all_curves, ncurves); for (curve_id = 0; curve_id < ncurves; curve_id++) - test_random_points_on_curve(&all_curves[curve_id]); + failed |= test_random_points_on_curve(&all_curves[curve_id]); fprintf(stderr, "%s: %s\n", __func__, failed ? "FAILED" : "SUCCESS"); -- 2.20.1