mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
* 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.
This commit is contained in:
parent
dc4b9ab770
commit
8dccf882f7
@ -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
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user