diff options
author | Werner Koch <wk@gnupg.org> | 2015-05-08 16:30:04 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-05-08 16:30:04 +0200 |
commit | b03a2647299a6c8764a2574590cbaccdff9e497d (patch) | |
tree | d581d7fdfb8c929ce4740331561308fa71d7ff7f | |
parent | gpg: Fix wrong output in list mode. (diff) | |
download | gnupg2-b03a2647299a6c8764a2574590cbaccdff9e497d.tar.xz gnupg2-b03a2647299a6c8764a2574590cbaccdff9e497d.zip |
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>
-rw-r--r-- | g10/trustdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index 6145cf0e9..fda8674cb 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -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++) |