From efdd045ce151bd50a67ebc48901ed2c5981e82fe Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 8 Mar 2023 06:44:45 +0000 Subject: [PATCH] reduce number of tests in bn_rand_interval. This is only testing basic functionality anyway, so 10000 tests are more than enough. --- regress/lib/libcrypto/bn/bn_rand_interval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/bn/bn_rand_interval.c b/regress/lib/libcrypto/bn/bn_rand_interval.c index 032edfb4972..3c5eaac0412 100644 --- a/regress/lib/libcrypto/bn/bn_rand_interval.c +++ b/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); -- 2.20.1