diff options
author | Werner Koch <[email protected]> | 2004-10-17 13:28:37 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-10-17 13:28:37 +0000 |
commit | ad3382bdc75d9f87707ec8f17cb34fab7a18bc38 (patch) | |
tree | e8f7240533adebcc48925b5fb3c9dc55a9bbb80f | |
parent | * parse-packet.c (parse_one_sig_subpkt, enum_sig_subpkt): Don't BUG() on (diff) | |
download | gnupg-ad3382bdc75d9f87707ec8f17cb34fab7a18bc38.tar.gz gnupg-ad3382bdc75d9f87707ec8f17cb34fab7a18bc38.zip |
(agent_get_passphrase): Cast UIDLEN to int. Noted
by Christian Cornelssen.
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); |