From 61553ad84a963afb2cb5178598c44ed09d4a4f08 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 8 Mar 2023 06:44:45 +0000 Subject: reduce number of tests in bn_rand_interval. This is only testing basic functionality anyway, so 10000 tests are more than enough. --- src/regress/lib/libcrypto/bn/bn_rand_interval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/bn/bn_rand_interval.c b/src/regress/lib/libcrypto/bn/bn_rand_interval.c index 032edfb497..3c5eaac041 100644 --- a/src/regress/lib/libcrypto/bn/bn_rand_interval.c +++ b/src/regress/lib/libcrypto/bn/bn_rand_interval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_rand_interval.c,v 1.1 2022/12/01 20:50:10 tb Exp $ */ +/* $OpenBSD: bn_rand_interval.c,v 1.2 2023/03/08 06:44:45 tb Exp $ */ /* * Copyright (c) 2018 Theo Buehler * @@ -20,7 +20,7 @@ #include -#define NUM_TESTS 1000000 +#define NUM_TESTS 10000 int bn_rand_interval(BIGNUM *rnd, const BIGNUM *lower_incl, const BIGNUM *upper_excl); -- cgit v1.2.3-55-g6feb