1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-01 02:42:44 +02:00

fix for bug1234.

This commit is contained in:
Werner Koch 2010-09-28 13:21:42 +00:00
parent 398e686085
commit 9fbaba32a5
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2010-09-28 Werner Koch <wk@g10code.com> 2010-09-28 Werner Koch <wk@g10code.com>
* keyedit.c (show_key_with_all_names): Make revocation hint
cleared. Fixes bug#1234.
* call-agent.c (hash_algo_option): New. * call-agent.c (hash_algo_option): New.
(agent_scd_pksign): Use it. (agent_scd_pksign): Use it.

View File

@ -2809,7 +2809,8 @@ show_key_with_all_names( KBNODE keyblock, int only_marked, int with_revoker,
{ {
char *user=get_user_id_string_native(pk->revoked.keyid); char *user=get_user_id_string_native(pk->revoked.keyid);
const char *algo = gcry_pk_algo_name (pk->revoked.algo); const char *algo = gcry_pk_algo_name (pk->revoked.algo);
tty_printf(_("This key was revoked on %s by %s key %s\n"), tty_printf (_("The following key was revoked on"
" %s by %s key %s\n"),
revokestr_from_pk(pk),algo?algo:"?",user); revokestr_from_pk(pk),algo?algo:"?",user);
xfree(user); xfree(user);
} }