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>
This commit is contained in:
parent
7039f87375
commit
b03a264729
@ -1895,7 +1895,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