mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Minor fixes
This commit is contained in:
parent
b8d2740923
commit
690dc98c6f
5 changed files with 20 additions and 1 deletions
|
@ -501,8 +501,16 @@ print_pkenc_list( struct kidlist_item *list, int failed )
|
|||
}
|
||||
}
|
||||
else if (list->reason)
|
||||
{
|
||||
log_info(_("public key decryption failed: %s\n"),
|
||||
g10_errstr(list->reason));
|
||||
if (is_status_enabled ())
|
||||
{
|
||||
char buf[20+30];
|
||||
snprintf (buf, sizeof buf, "pkdecrypt_failed %d", list->reason);
|
||||
write_status_text (STATUS_ERROR, buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue