1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Minor fixes

This commit is contained in:
Werner Koch 2010-08-31 08:42:38 +00:00
parent b8d2740923
commit 690dc98c6f
5 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-08-31 Werner Koch <wk@g10code.com>
* mainproc.c (print_pkenc_list): Print a STATUS_ERROR. Fixes
bug#1255.
2010-07-24 Werner Koch <wk@g10code.com>
* cardglue.c (agent_scd_pksign): Allow more hash algorithms when

View file

@ -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);
}
}
}
}