diff options
Diffstat (limited to '')
-rw-r--r-- | g10/ChangeLog | 9 | ||||
-rw-r--r-- | g10/passphrase.c | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index 8ac1b0e72..e0d03c2bb 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2004-10-17 Werner Koch <[email protected]> + + * passphrase.c (agent_get_passphrase): Cast UIDLEN to int. Noted + by Christian Cornelssen. + 2004-10-16 David Shaw <[email protected]> * parse-packet.c (parse_one_sig_subpkt, enum_sig_subpkt): Don't @@ -3154,8 +3159,8 @@ (import_one): Use it here. Use merge_keys_and_selfsig in the interactive mode to avoid wrong key information. - * status.h: Add new status code. - * status.c: Ditto. + * status.h: Add new status code. + * status.c: Ditto. 2002-12-13 David Shaw <[email protected]> diff --git a/g10/passphrase.c b/g10/passphrase.c index 593c85622..71be74fe8 100644 --- a/g10/passphrase.c +++ b/g10/passphrase.c @@ -700,7 +700,7 @@ agent_get_passphrase ( u32 *keyid, int mode, const char *tryagain_text, + uidlen + 15 + strlen(algo_name) + keystrlen() + strlen (timestr) + strlen (maink) ); sprintf (atext, PROMPTSTRING, - uidlen, uid, + (int)uidlen, uid, nbits_from_pk (pk), algo_name, keystr(&keyid[0]), timestr, maink ); m_free (uid); |