mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
tests: Speed up the genkey1024.test by using not so strong random.
* agent/gpg-agent.c (oDebugQuickRandom): New. (opts): New option --debug-quick-random. (main): Use new option. * common/asshelp.c (start_new_gpg_agent): Add hack to pass an additional argument for the agent name. * tests/openpgp/defs.inc: Pass --debug-quick-random to the gpg-agent starting parameters. * tests/openpgp/version.test: Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
982a6e6e55
commit
9546aa3cc8
8 changed files with 72 additions and 17 deletions
|
@ -244,10 +244,9 @@ for f in gpg.conf gpg-agent.conf ; do
|
|||
case "$f" in
|
||||
gpg.conf)
|
||||
[ -n "${opt_always}" ] && echo "no-auto-check-trustdb" >>"$f"
|
||||
echo "agent-program $GPG_AGENT" >>"$f"
|
||||
echo "agent-program ${GPG_AGENT}|--debug-quick-random" >>"$f"
|
||||
echo "allow-weak-digest-algos" >>"$f"
|
||||
|
||||
;;
|
||||
;;
|
||||
gpg-agent.conf)
|
||||
echo "pinentry-program $PINENTRY" >>"$f"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue