summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
authortb <>2021-12-29 22:48:09 +0000
committertb <>2021-12-29 22:48:09 +0000
commit04571420cb84bd74da45af82a2993186fce34938 (patch)
treee4a2c0ab82b6bf3942d85b6d5d50efc223ae959a /src/regress
parent1830d55f6b82051dbcc8410d7b02753d43f0dabd (diff)
downloadopenbsd-04571420cb84bd74da45af82a2993186fce34938.tar.gz
openbsd-04571420cb84bd74da45af82a2993186fce34938.tar.bz2
openbsd-04571420cb84bd74da45af82a2993186fce34938.zip
Set failed in test_random_points()
CID 345141
Diffstat (limited to 'src/regress')
-rw-r--r--src/regress/lib/libcrypto/ec/ec_point_conversion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/ec/ec_point_conversion.c b/src/regress/lib/libcrypto/ec/ec_point_conversion.c
index 221bfc6456..8327ac4336 100644
--- a/src/regress/lib/libcrypto/ec/ec_point_conversion.c
+++ b/src/regress/lib/libcrypto/ec/ec_point_conversion.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_point_conversion.c,v 1.5 2021/05/03 14:51:47 tb Exp $ */ 1/* $OpenBSD: ec_point_conversion.c,v 1.6 2021/12/29 22:48:09 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2021 Theo Buehler <tb@openbsd.org>
4 * Copyright (c) 2021 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2021 Joel Sing <jsing@openbsd.org>
@@ -227,7 +227,7 @@ test_random_points(void)
227 EC_get_builtin_curves(all_curves, ncurves); 227 EC_get_builtin_curves(all_curves, ncurves);
228 228
229 for (curve_id = 0; curve_id < ncurves; curve_id++) 229 for (curve_id = 0; curve_id < ncurves; curve_id++)
230 test_random_points_on_curve(&all_curves[curve_id]); 230 failed |= test_random_points_on_curve(&all_curves[curve_id]);
231 231
232 fprintf(stderr, "%s: %s\n", __func__, failed ? "FAILED" : "SUCCESS"); 232 fprintf(stderr, "%s: %s\n", __func__, failed ? "FAILED" : "SUCCESS");
233 233