aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog8
-rw-r--r--g10/getkey.c5
-rw-r--r--g10/sig-check.c2
3 files changed, 12 insertions, 3 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 0a382e99a..99247bf96 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,11 @@
+2003-04-29 Werner Koch <[email protected]>
+
+ * sig-check.c (check_key_signature2): Made "no subkey for subkey
+ binding packet" a verbose item instead of a !quiet one. There are
+ too many garbled keys out in the wild.
+ * getkey.c (premerge_public_with_secret): Made "no secret subkey
+ for" warning a verbose item and translatable.
+
2003-04-28 Werner Koch <[email protected]>
* filter.h: Remove const from WHAT.
diff --git a/g10/getkey.c b/g10/getkey.c
index e4a5053f1..c5ed4868b 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -2005,8 +2005,9 @@ premerge_public_with_secret ( KBNODE pubblock, KBNODE secblock )
if ( !sec ) {
KBNODE next, ll;
- log_info ( "no secret subkey "
- "for public subkey %08lX - ignoring\n",
+ if (opt.verbose)
+ log_info ( _("no secret subkey "
+ "for public subkey %08lX - ignoring\n"),
(ulong)keyid_from_pk (pk,NULL) );
/* we have to remove the subkey in this case */
assert ( last );
diff --git a/g10/sig-check.c b/g10/sig-check.c
index a000d69bf..f461a23b0 100644
--- a/g10/sig-check.c
+++ b/g10/sig-check.c
@@ -574,7 +574,7 @@ check_key_signature2( KBNODE root, KBNODE node, PKT_public_key *check_pk,
md_close(md);
}
else {
- if (!opt.quiet)
+ if (opt.verbose)
log_info ("key %08lX: no subkey for subkey binding packet\n",
(ulong)keyid_from_pk (pk, NULL));
rc = G10ERR_SIG_CLASS;