summaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index a6d0ed1a9..ba98d17ac 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -160,7 +160,8 @@ cache_public_key( PKT_public_key *pk )
if( pk_cache_entries >= MAX_PK_CACHE_ENTRIES ) {
/* fixme: use another algorithm to free some cache slots */
pk_cache_disabled=1;
- log_info(_("too many entries in pk cache - disabled\n"));
+ if( opt.verbose )
+ log_info(_("too many entries in pk cache - disabled\n"));
return;
}
pk_cache_entries++;
@@ -258,7 +259,8 @@ get_pubkey( PKT_public_key *pk, u32 *keyid )
;
else if( ++unk_cache_entries > MAX_UNK_CACHE_ENTRIES ) {
unk_cache_disabled = 1;
- log_info(_("too many entries in unk cache - disabled\n"));
+ if( opt.verbose )
+ log_info(_("too many entries in unk cache - disabled\n"));
}
else {
keyid_list_t kl;