Re: Questions on NSS_Shutdown () and Firefox crash

2008-08-16 Thread Nelson B Bolyard
Howard Chu wrote, On 2008-08-16 17:03: > Nelson B Bolyard wrote: >> Wan-Teh Chang wrote, On 2008-08-15 19:36: >>> 3. Change NSS_Init so that instead of doing nothing >>> when NSS is already initialized: >>> >>> http://mxr.mozilla.org/security/source/security/nss/lib/nss/nssinit.c#448 >>> 448 if

Re: Questions on NSS_Shutdown () and Firefox crash

2008-08-16 Thread Howard Chu
Nelson B Bolyard wrote: > Wan-Teh Chang wrote, On 2008-08-15 19:36: >> 3. Change NSS_Init so that instead of doing nothing >> when NSS is already initialized: >> >> http://mxr.mozilla.org/security/source/security/nss/lib/nss/nssinit.c#448 >> 448 if (nss_IsInitted) { >> 449 return SECSuc

Re: Questions on NSS_Shutdown () and Firefox crash

2008-08-16 Thread Nelson B Bolyard
Daniel Stenberg wrote, On 2008-08-16 13:03: > curl is completely independent from browsers, and when installed in > systems it usually uses the system-wide CA cert bundle. Of course it has > command line options to allow the user to specify what CA bundle to use > (or indeed other certs etc). Da

Re: Questions on NSS_Shutdown () and Firefox crash

2008-08-16 Thread Daniel Stenberg
On Sat, 16 Aug 2008, Nelson B Bolyard wrote: > I don't know how long cURL runs once started If you decide to for example download a very large file over a slow connection it can very well be running for weeks or more. And curl is just an app, libcurl is used by numerous apps with all sorts of u

Re: Questions on NSS_Shutdown () and Firefox crash

2008-08-16 Thread Nelson B Bolyard
Wan-Teh Chang wrote, On 2008-08-15 19:36: > We ran into a similar problem with PKCS #11 modules that > NSS and some other libraries share. When one of the libraries > calls C_Finalize on the shared PKCS #11 module, it prevents > the other libraries from using the PKCS #11 module. > > Some possibl