| 277 |
277 |
| 278 static gboolean |
278 static gboolean |
| 279 plugin_load(GaimPlugin *plugin) |
279 plugin_load(GaimPlugin *plugin) |
| 280 { |
280 { |
| 281 #ifdef HAVE_NSS |
281 #ifdef HAVE_NSS |
| |
282 gaim_debug_register_category("nss"); |
| |
283 |
| 282 if (!gaim_ssl_get_ops()) { |
284 if (!gaim_ssl_get_ops()) { |
| 283 gaim_ssl_set_ops(&ssl_ops); |
285 gaim_ssl_set_ops(&ssl_ops); |
| 284 } |
286 } |
| 285 |
287 |
| 286 /* Init NSS now, so others can use it even if sslconn never does */ |
288 /* Init NSS now, so others can use it even if sslconn never does */ |
| 287 ssl_nss_init_nss(); |
289 ssl_nss_init_nss(); |
| |
290 |
| 288 return TRUE; |
291 return TRUE; |
| 289 #else |
292 #else |
| 290 return FALSE; |
293 return FALSE; |
| 291 #endif |
294 #endif |
| 292 } |
295 } |