aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-02-17 20:48:52 +0000
committerWerner Koch <[email protected]>1998-02-17 20:48:52 +0000
commitc8bb57d05d1b237e16f93d95a4df5a1d343c4c5a (patch)
tree7692d6a234d6c22528ffce134ad0f6c904eaa91f /g10/getkey.c
parentremoved password from key two (diff)
downloadgnupg-c8bb57d05d1b237e16f93d95a4df5a1d343c4c5a.tar.gz
gnupg-c8bb57d05d1b237e16f93d95a4df5a1d343c4c5a.zip
import works
Diffstat (limited to '')
-rw-r--r--g10/getkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 8f92f0a45..e58b0f813 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -89,7 +89,7 @@ add_keyring( const char *name )
if( strchr(name, '/') )
p = make_filename(name, NULL);
else
- p = make_filename("~/.g10", name, NULL);
+ p = make_filename(opt.homedir, name, NULL);
sl = m_alloc( sizeof *sl + strlen(p) );
strcpy(sl->d, p );
m_free(p);
@@ -139,7 +139,7 @@ add_secret_keyring( const char *name )
if( strchr(name, '/') )
p = make_filename(name, NULL);
else
- p = make_filename("~/.g10", name, NULL);
+ p = make_filename(opt.homedir, name, NULL);
sl = m_alloc( sizeof *sl + strlen(p) );
strcpy(sl->d, p );
m_free(p);