mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fix last change
This commit is contained in:
parent
047d97e95e
commit
227d6626b0
@ -1,10 +1,15 @@
|
||||
2009-06-05 Werner Koch <wk@g10code.com>
|
||||
|
||||
* protect-tool.c (store_private_key): Fix last change by appending
|
||||
a ".key".
|
||||
|
||||
2009-06-03 Werner Koch <wk@g10code.com>
|
||||
|
||||
* protect-tool.c: Include estream.h.
|
||||
(store_private_key): Replace stdio streams by estream functions
|
||||
for a portable use of the "x" mode.
|
||||
* trustlist.c: Include estream.h.
|
||||
(agent_marktrusted): Repalce stdio stream by estream functions.
|
||||
(agent_marktrusted): Replace stdio stream by estream functions.
|
||||
|
||||
* protect-tool.c (store_private_key): Use bin2hex.
|
||||
|
||||
|
@ -1205,6 +1205,7 @@ store_private_key (const unsigned char *grip,
|
||||
char hexgrip[40+4+1];
|
||||
|
||||
bin2hex (grip, 20, hexgrip);
|
||||
strcpy (hexgrip+40, ".key");
|
||||
|
||||
fname = make_filename (opt_homedir, GNUPG_PRIVATE_KEYS_DIR, hexgrip, NULL);
|
||||
if (force)
|
||||
|
Loading…
x
Reference in New Issue
Block a user