summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-12-14 13:10:28 +0100
committerWerner Koch <wk@gnupg.org>2010-12-14 13:10:28 +0100
commit43a7cb7fd4a69ae09b752585e83e647f4b598c50 (patch)
tree21a83cdbc07e42bbb65a48ef17c76da1adbc95bd /dirmngr
parenttypo fix (diff)
downloadgnupg2-43a7cb7fd4a69ae09b752585e83e647f4b598c50.tar.xz
gnupg2-43a7cb7fd4a69ae09b752585e83e647f4b598c50.zip
Change --dameon home directory to /gnupg under Wince
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/ChangeLog4
-rw-r--r--dirmngr/crlcache.c2
-rw-r--r--dirmngr/dirmngr.c4
3 files changed, 9 insertions, 1 deletions
diff --git a/dirmngr/ChangeLog b/dirmngr/ChangeLog
index 67a51b005..11fd1b7f1 100644
--- a/dirmngr/ChangeLog
+++ b/dirmngr/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-14 Werner Koch <wk@g10code.com>
+
+ * dirmngr.c (main) [W32CE]: Change homedir in daemon mode to /gnupg.
+
2010-12-07 Werner Koch <wk@g10code.com>
* dirmngr.c (TIMERTICK_INTERVAL) [W32CE]: Change to 60s.
diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c
index d77a86c74..5f0430525 100644
--- a/dirmngr/crlcache.c
+++ b/dirmngr/crlcache.c
@@ -53,7 +53,7 @@
A "c" or "u" indicate a valid cache entry, however
"u" requires that a user root certificate check needs
to be done.
- An "i" indicates an invalid Cache entry which should
+ An "i" indicates an invalid cache entry which should
not be used but still exists so that it can be
updated at NEXT_UPDATE.
Field 2: Hexadecimal encoded SHA-1 hash of the issuer DN using
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index 966c657d0..9b06851bd 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -721,7 +721,11 @@ main (int argc, char **argv)
this also overrides the GNUPGHOME environment variable. */
if (opt.system_daemon && !homedir_seen)
{
+#ifdef HAVE_W32CE_SYSTEM
+ opt.homedir == DIRSEP_S "gnupg";
+#else
opt.homedir = gnupg_sysconfdir ();
+#endif
opt.homedir_data = gnupg_datadir ();
opt.homedir_cache = gnupg_cachedir ();
}