diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-16 12:41:49 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-16 12:41:49 +0800 |
commit | 403205b15e9f14472711ee115cae17031eb4ce7b (patch) | |
tree | 85d123987b81da533ac065d2cc0683cb03cec6d8 /camel/camel.c | |
parent | 323a1f08cc0bdff8bba6ec1631f6e7111296093e (diff) | |
download | gsoc2013-evolution-403205b15e9f14472711ee115cae17031eb4ce7b.tar.gz gsoc2013-evolution-403205b15e9f14472711ee115cae17031eb4ce7b.tar.zst gsoc2013-evolution-403205b15e9f14472711ee115cae17031eb4ce7b.zip |
Don't use the hardcoded cert db directory, use the one passed in.
2001-03-15 Jeffrey Stedfast <fejj@ximian.com>
* camel.c (camel_init): Don't use the hardcoded cert db directory,
use the one passed in.
* camel-tcp-stream-ssl.c (ssl_get_client_auth): Wrote the default
implementation. Not that we'll use this though, since this is the
default implementation provided by NSS anyway. This more or less
serves as a reference in case we want to change anything.
(ssl_auth_cert): Same.
(ssl_bad_cert): Changed the prompt string and free it when we're
done.
svn path=/trunk/; revision=8753
Diffstat (limited to 'camel/camel.c')
-rw-r--r-- | camel/camel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel.c b/camel/camel.c index 5b102473e6..ba70162aca 100644 --- a/camel/camel.c +++ b/camel/camel.c @@ -55,7 +55,7 @@ camel_init (const char *certdb_dir, gboolean nss_init) if (nss_init) { PR_Init (PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 10); - if (NSS_Init ("/home/fejj/.mozilla/default") == SECFailure) { + if (NSS_Init (certdb_dir) == SECFailure) { g_warning ("Failed to initialize NSS"); return -1; } |