summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/ChangeLog8
-rw-r--r--g10/mainproc.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 595dc4012..2945f7400 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,11 @@
+2002-09-03 David Shaw <dshaw@jabberwocky.com>
+
+ * mainproc.c (print_pkenc_list): Don't increment the error counter
+ when printing the list of keys a message was encrypted to. This
+ would make gpg give a non-zero exit code even for completely valid
+ messages if the message was encrypted to more than one key that
+ the user owned.
+
2002-09-02 Werner Koch <wk@gnupg.org>
* g10.c (main): Try to set a default character set. Print the
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 38aaac0d9..cea88994b 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -431,7 +431,7 @@ print_pkenc_list( struct kidlist_item *list, int failed )
}
}
else if (list->reason)
- log_error(_("public key decryption failed: %s\n"),
+ log_info(_("public key decryption failed: %s\n"),
g10_errstr(list->reason));
}
}