aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-06-27 07:29:57 +0000
committerWerner Koch <[email protected]>2002-06-27 07:29:57 +0000
commitad4d81f528229e0ecda3246aee3fcf88f0e9c3c3 (patch)
treec603a97a95f00fd87c32fbbb82242d0c99d62f6d /sm/gpgsm.c
parent* Makefile.am (pkglib_PROGRAMS): Put protect-tool there. (diff)
downloadgnupg-ad4d81f528229e0ecda3246aee3fcf88f0e9c3c3.tar.gz
gnupg-ad4d81f528229e0ecda3246aee3fcf88f0e9c3c3.zip
* gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.
* call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r--sm/gpgsm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index e650e941c..9d91cd9db 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -636,9 +636,7 @@ main ( int argc, char **argv)
opt.homedir = getenv ("GNUPGHOME");
#endif
if (!opt.homedir || !*opt.homedir )
- {
- opt.homedir = "~/.gnupg-test" /*fixme: GNUPG_HOMEDIR*/;
- }
+ opt.homedir = GNUPG_DEFAULT_HOMEDIR;
/* first check whether we have a config file on the commandline */
orig_argc = argc;