mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-24 15:17:02 +01:00
gpg: Avoid cluttering stdout with trustdb info in verbose mode.
* g10/trustdb.c (validate_keys): Call dump_key_array only in debug mode. -- I guess that is a left-over from an early attempt to output information on the trustdb for use by other tools. Maybe related to the former --list-trust-path command. Sending it to stdout is probably useful so we do this now only in debug mode. Signed-off-by: Werner Koch <wk@gnupg.org> Backported to STABLE-BRANCH-2-0 from b03a2647299a6c8764a2574590cbaccdff9e497d by dkg
This commit is contained in:
parent
60b0403f3c
commit
0b01bb7f25
@ -2445,7 +2445,7 @@ validate_keys (int interactive)
|
|||||||
;
|
;
|
||||||
|
|
||||||
/* Store the calculated valididation status somewhere */
|
/* Store the calculated valididation status somewhere */
|
||||||
if (opt.verbose > 1)
|
if (opt.verbose > 1 && DBG_TRUST)
|
||||||
dump_key_array (depth, keys);
|
dump_key_array (depth, keys);
|
||||||
|
|
||||||
for (kar=keys; kar->keyblock; kar++)
|
for (kar=keys; kar->keyblock; kar++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user