mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +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-1-4 from b03a2647299a6c8764a2574590cbaccdff9e497d by dkg
This commit is contained in:
parent
6db18e29eb
commit
8b5cb544a8
@ -2435,7 +2435,7 @@ validate_keys (int interactive)
|
||||
;
|
||||
|
||||
/* Store the calculated valididation status somewhere */
|
||||
if (opt.verbose > 1)
|
||||
if (opt.verbose > 1 && DBG_TRUST)
|
||||
dump_key_array (depth, keys);
|
||||
|
||||
for (kar=keys; kar->keyblock; kar++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user