aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index b58dbccac..d3c4b5816 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -2137,7 +2137,7 @@ finish_lookup( GETKEY_CTX ctx, KBNODE foundk )
ctx->found_key = latest_key;
- if ( latest_key != keyblock ) {
+ if (latest_key != keyblock && opt.verbose) {
log_info(_("using secondary key %08lX "
"instead of primary key %08lX\n"),
(ulong)keyid_from_pk( latest_key->pkt->pkt.public_key, NULL),