summaryrefslogtreecommitdiff
path: root/tests/pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pubkey.c')
-rw-r--r--tests/pubkey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pubkey.c b/tests/pubkey.c
index e383f477..f71590d9 100644
--- a/tests/pubkey.c
+++ b/tests/pubkey.c
@@ -247,6 +247,8 @@ main (int argc, char **argv)
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
if (debug)
gcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u , 0);
+ /* No valuable keys are create, so we can speed up our RNG. */
+ gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
for (; i > 0; i--)
check_run ();