aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to 'scd')
-rw-r--r--scd/ChangeLog4
-rw-r--r--scd/scdaemon.c8
2 files changed, 5 insertions, 7 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index 13ac0c07c..b06603315 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-27 Werner Koch <[email protected]>
+
+ * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.
+
2002-06-15 Werner Koch <[email protected]>
* card-dinsig.c: Documented some stuff from the DIN norm.
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index a6f18cc36..d1402b5ee 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -261,13 +261,7 @@ main (int argc, char **argv )
looking at the uid or ebtter use an explict option for this */
opt.homedir = getenv("GNUPGHOME");
if (!opt.homedir || !*opt.homedir)
- {
-#ifdef HAVE_DRIVE_LETTERS
- opt.homedir = "c:/gnupg-test";
-#else
- opt.homedir = "~/.gnupg-test";
-#endif
- }
+ opt.homedir = GNUPG_DEFAULT_HOMEDIR;
/* check whether we have a config file on the commandline */
orig_argc = argc;