diff options
Diffstat (limited to '')
-rw-r--r-- | agent/protect-tool.c | 1 |
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) |