From: tb Date: Wed, 8 Mar 2023 06:44:45 +0000 (+0000) Subject: reduce number of tests in bn_rand_interval. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=efdd045ce151bd50a67ebc48901ed2c5981e82fe;p=openbsd reduce number of tests in bn_rand_interval. This is only testing basic functionality anyway, so 10000 tests are more than enough. --- 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);