diff options
author | David Shaw <[email protected]> | 2002-09-04 02:48:47 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-09-04 02:48:47 +0000 |
commit | 8dccf882f72d5036bec2b8277e54779bcd71ce0c (patch) | |
tree | 3d8f268d161308fc69349a5aff782d251a659d4e /g10/mainproc.c | |
parent | new test certs and messages (diff) | |
download | gnupg-8dccf882f72d5036bec2b8277e54779bcd71ce0c.tar.gz gnupg-8dccf882f72d5036bec2b8277e54779bcd71ce0c.zip |
* 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.
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } } |