Re: Ldap_bind problem with TLS - SDK 5.1.7 and NSS 3.11 & NSPR 4.6.
Rich Megginson <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
Mark Smith wrote: > Anton Bobrov wrote: >> >> you need to initialize & configure NSS first. you can do >> that with one of ldapssl_ init functions [example below]. > > It would be better not to crash when no init function is called. Should > we change the libssldap code to fail the start TLS call if NSS has not > been initialized? Is it possible to tell whether NSS has been initialized? > /* * Returns whether NSS has already been initialized or not. */ extern PRBool NSS_IsInitialized(void);