From 39503131c7ab42593ae1c51f0b4f97e8bf286d7d Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Oct 12 2010 17:05:07 +0000 Subject: openldap does not use global MozNSS context mozldap uses the global MozNSS context - so dsgw does not need to do nss_init however, openldap uses the NSS_InitContext interface, not the global context, so dsgw will still have to use nss_init for the global context --- diff --git a/ldaputil.c b/ldaputil.c index 29a5a72..686627b 100644 --- a/ldaputil.c +++ b/ldaputil.c @@ -252,7 +252,6 @@ dsgw_init_ldap( LDAP **ldp, LDAPFiltDesc **lfdpp, int skipac, int skipauthwarnin dsgw_error( DSGW_ERR_SSLINIT, gc->gc_securitypath, DSGW_ERROPT_EXIT, 0, NULL ); } - dsgw_NSSInitializedAlready = 1; #if defined(LDAP_OPT_X_TLS_PROTOCOL_MIN) optval = LDAP_OPT_X_TLS_PROTOCOL_SSL3; if ((ret = ldap_set_option(*ldp, LDAP_OPT_X_TLS_PROTOCOL_MIN, &optval))) {