aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect-tool.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-06-05 20:51:52 +0000
committerWerner Koch <[email protected]>2009-06-05 20:51:52 +0000
commit227d6626b0ba28cf5eec80c8c7d49d98903b230a (patch)
treed28ae559264fb9baad05f8815dc5e4578348e481 /agent/protect-tool.c
parentAdd full Camellia support. (diff)
downloadgnupg-227d6626b0ba28cf5eec80c8c7d49d98903b230a.tar.gz
gnupg-227d6626b0ba28cf5eec80c8c7d49d98903b230a.zip
Fix last change
Diffstat (limited to '')
-rw-r--r--agent/protect-tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c
index 58bda715a..0e48124d8 100644
--- a/agent/protect-tool.c
+++ b/agent/protect-tool.c
@@ -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)