aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-11-20 19:22:58 +0000
committerWerner Koch <[email protected]>1998-11-20 19:22:58 +0000
commit710d2e351bfd9f97f7a45359d269e7620865cfb7 (patch)
treec5272c8c44ec561672ef8960d8a51e6068fdc568 /g10
parentExpiration time works (I hope so) (diff)
downloadgnupg-0-4-4.tar.gz
gnupg-0-4-4.zip
Ready for version 0.4.4V0-4-4
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;