aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2006-01-31 02:44:23 +0800
committerTor Lillqvist <tml@src.gnome.org>2006-01-31 02:44:23 +0800
commit6ef5fe427fdd7e1ca4f4ae1d2604b044bd3c59dd (patch)
tree4bab60d88408015f2b657795bdd67f25caeb7bbc /smime/lib
parent8ff88efc7d56618fbf253a3c777ee52f45c188ae (diff)
downloadgsoc2013-evolution-6ef5fe427fdd7e1ca4f4ae1d2604b044bd3c59dd.tar.gz
gsoc2013-evolution-6ef5fe427fdd7e1ca4f4ae1d2604b044bd3c59dd.tar.zst
gsoc2013-evolution-6ef5fe427fdd7e1ca4f4ae1d2604b044bd3c59dd.zip
On Win32, don't bother to attempt looking in Unix paths like /usr/lib or
2006-01-30 Tor Lillqvist <tml@novell.com> * lib/e-cert-db.c (install_loadable_roots): On Win32, don't bother to attempt looking in Unix paths like /usr/lib or /opt/mozilla for Mozilla's nssckbi module. If necessary, add code later to look up the installation path of Mozilla or Firefox from the Registry. svn path=/trunk/; revision=31382
Diffstat (limited to 'smime/lib')
-rw-r--r--smime/lib/e-cert-db.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c
index ea8e76ab36..de310ab4be 100644
--- a/smime/lib/e-cert-db.c
+++ b/smime/lib/e-cert-db.c
@@ -267,6 +267,7 @@ install_loadable_roots (void)
}
if (!RootsModule) {
+#ifndef G_OS_WIN32
/* grovel in various places for mozilla's built-in
cert module.
@@ -298,6 +299,12 @@ install_loadable_roots (void)
g_free (dll_path);
}
+#else
+ /* FIXME: Might be useful to look up if there is a
+ * Mozilla installation on the machine and use the
+ * nssckbi.dll from there.
+ */
+#endif
}
}