comparison plugins/ssl/ssl-nss.c @ 10263:1668fcab5968

[gaim-migrate @ 11407] This makes win32 compile again, oops. I also gives rid of a nss warning, and creates a leak instead. But leaking one string in an init function is better than possibly crashing. In general, I don't understand why it's putting /prefixtogaim/lib/gaim in front of that, as that .so is never in that location. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 25 Nov 2004 22:03:58 +0000
parents c143a3fac58d
children bec9130b24d2
comparison
equal deleted inserted replaced
10262:7f487c725a90 10263:1668fcab5968
61 NSS_NoDB_Init(NULL); 61 NSS_NoDB_Init(NULL);
62 62
63 /* TODO: Fix this so autoconf does the work trying to find this lib. */ 63 /* TODO: Fix this so autoconf does the work trying to find this lib. */
64 SECMOD_AddNewModule("Builtins", 64 SECMOD_AddNewModule("Builtins",
65 #ifndef _WIN32 65 #ifndef _WIN32
66 BR_LIBDIR("/libnssckbi.so"), 66 g_strdup(BR_LIBDIR("/libnssckbi.so")),
67 /* this might leak, and looks wrong in general */
67 #else 68 #else
68 "nssckbi.dll", 69 "nssckbi.dll",
69 #endif 70 #endif
70 0, 0); 71 0, 0);
71 NSS_SetDomesticPolicy(); 72 NSS_SetDomesticPolicy();