mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-13 22:08:52 +01:00
* keygen.c (save_unprotected_key_to_card): Better fix for gcc4 warning.
This commit is contained in:
parent
2d2e2e74b8
commit
c66eeec3c6
@ -1,3 +1,8 @@
|
||||
2005-06-20 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* keygen.c (save_unprotected_key_to_card): Better fix for gcc4
|
||||
warning.
|
||||
|
||||
2005-06-20 Werner Koch <wk@g10code.com>
|
||||
|
||||
* g10.c, options.h: New option --no-interactive-selection.
|
||||
|
@ -3543,7 +3543,7 @@ save_unprotected_key_to_card (PKT_secret_key *sk, int keyno)
|
||||
|
||||
p = stpcpy (p,"))(10:created-at");
|
||||
sprintf (numbuf2, "%lu", (unsigned long)sk->timestamp);
|
||||
sprintf (numbuf, "%u:", (unsigned int)strlen (numbuf2));
|
||||
sprintf (numbuf, "%lu:", (unsigned long)strlen (numbuf2));
|
||||
p = stpcpy (stpcpy (stpcpy (p, numbuf), numbuf2), "))");
|
||||
|
||||
rc = agent_scd_writekey (keyno, sexp, p - sexp);
|
||||
|
Loading…
Reference in New Issue
Block a user