aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.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/keygen.c
parentremoved password from key two (diff)
downloadgnupg-c8bb57d05d1b237e16f93d95a4df5a1d343c4c5a.tar.gz
gnupg-c8bb57d05d1b237e16f93d95a4df5a1d343c4c5a.zip
import works
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 89fd852e1..f0cbda3d0 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -526,8 +526,8 @@ generate_keypair()
/* now check wether we a are allowed to write to the keyrings */
- pub_fname = make_filename("~/.g10", "pubring.g10", NULL );
- sec_fname = make_filename("~/.g10", "secring.g10", NULL );
+ pub_fname = make_filename(opt.homedir, "pubring.g10", NULL );
+ sec_fname = make_filename(opt.homedir, "secring.g10", NULL );
if( opt.verbose ) {
tty_printf(_("writing public certificate to '%s'\n"), pub_fname );
tty_printf(_("writing secret certificate to '%s'\n"), sec_fname );