summaryrefslogtreecommitdiff
path: root/tests/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/random.c')
-rw-r--r--tests/random.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/random.c b/tests/random.c
index 8aa730b2..2a4b698b 100644
--- a/tests/random.c
+++ b/tests/random.c
@@ -666,7 +666,10 @@ main (int argc, char **argv)
check_nonce_forking ();
check_close_random_device ();
}
- check_drbg_reinit ();
+ /* For now we do not run the drgb_reinit check from "make check" due
+ to its high requirement for entropy. */
+ if (!getenv ("GCRYPT_IN_REGRESSION_TEST"))
+ check_drbg_reinit ();
check_rng_type_switching ();
if (!in_recursion)