diff options
author | Werner Koch <wk@gnupg.org> | 2006-03-14 13:13:11 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-03-14 13:13:11 +0000 |
commit | 7d2a1049d580d91fd56695594bd52ed5b0864253 (patch) | |
tree | 7789bfc75fcd3a94700397df631fa28f479f30e3 /tests/pubkey.c | |
parent | 0e9cbec874e6841397d5b7c2936cf491c84909a0 (diff) | |
download | libgcrypt-7d2a1049d580d91fd56695594bd52ed5b0864253.tar.gz |
Use quick key generation.
Cleaned up output; i.e. take care of --verbose.
Diffstat (limited to 'tests/pubkey.c')
-rw-r--r-- | tests/pubkey.c | 2 |
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 (); |