| 123 { |
123 { |
| 124 PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1); |
124 PR_Init(PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1); |
| 125 NSS_NoDB_Init(NULL); |
125 NSS_NoDB_Init(NULL); |
| 126 |
126 |
| 127 /* TODO: Fix this so autoconf does the work trying to find this lib. */ |
127 /* TODO: Fix this so autoconf does the work trying to find this lib. */ |
| 128 SECMOD_AddNewModule("Builtins", LIBDIR "/libnssckbi.so", 0, 0); |
128 SECMOD_AddNewModule("Builtins", |
| |
129 #ifndef _WIN32 |
| |
130 LIBDIR "/libnssckbi.so", |
| |
131 #else |
| |
132 "nssckbi.dll", |
| |
133 #endif |
| |
134 0, 0); |
| 129 NSS_SetDomesticPolicy(); |
135 NSS_SetDomesticPolicy(); |
| 130 |
136 |
| 131 _identity = PR_GetUniqueIdentity("Gaim"); |
137 _identity = PR_GetUniqueIdentity("Gaim"); |
| 132 _nss_methods = PR_GetDefaultIOMethods(); |
138 _nss_methods = PR_GetDefaultIOMethods(); |
| 133 |
139 |