From 6ef5fe427fdd7e1ca4f4ae1d2604b044bd3c59dd Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 30 Jan 2006 18:44:23 +0000 Subject: On Win32, don't bother to attempt looking in Unix paths like /usr/lib or 2006-01-30 Tor Lillqvist * 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 --- smime/ChangeLog | 7 +++++++ smime/lib/e-cert-db.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/smime/ChangeLog b/smime/ChangeLog index 1225cc3ed3..a501fcd8c7 100644 --- a/smime/ChangeLog +++ b/smime/ChangeLog @@ -1,3 +1,10 @@ +2006-01-30 Tor Lillqvist + + * 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. + 2006-01-29 Kjartan Maraas * gui/cert-trust-dialog.c: (ctd_response): 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 } } -- cgit v1.2.3