aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog2
-rw-r--r--g10/getkey.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index be2a984f9..8e0cc8574 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -4,6 +4,8 @@ Fri Nov 20 16:54:52 1998 Werner Koch ([email protected])
* sign.c (write_dashed_escaped): Ditto.
* armor.c (find_header): Support for NotDashEscaped header.
+ * getkey.c: print "disabled cache.." only if verbose is used.
+
Thu Nov 19 07:17:31 1998 Werner Koch <[email protected]>
* parse-packet.c (dump_sig_subpkt): Fixed expire listing
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;