comparison libpurple/plugins/ssl/ssl-nss.c @ 16820:2a98d8b6095e

Proabably fixes ticket #578, it's the recommended way of initializing NSS Use NSS_NoDB_Init(".") instead of NSS_NoDB_Init(NULL)
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 May 2007 13:39:07 +0000
parents 6531f1a2e1d7
children 278e22624ce5
comparison
equal deleted inserted replaced
16819:422bcef3154c 16820:2a98d8b6095e
106 static void 106 static void
107 ssl_nss_init_nss(void) 107 ssl_nss_init_nss(void)
108 { 108 {
109 char *lib; 109 char *lib;
110 PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1); 110 PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1);
111 NSS_NoDB_Init(NULL); 111 NSS_NoDB_Init(".");
112 112
113 /* TODO: Fix this so autoconf does the work trying to find this lib. */ 113 /* TODO: Fix this so autoconf does the work trying to find this lib. */
114 #ifndef _WIN32 114 #ifndef _WIN32
115 lib = g_strdup(LIBDIR "/libnssckbi.so"); 115 lib = g_strdup(LIBDIR "/libnssckbi.so");
116 #else 116 #else