Thanks Julien, "Julien Pierre" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > > PK11SlotInfo *slot = PK11_GetInternalKeySlot(); // just for tracking > > purposes > > You need to release the reference to the slot that you created in the > above line by calling > > PK11_FreeSlot(slot) ;
I do that of course. But as I displayed slot reference got incremented after my call to getInternalKeySlot, so FreeSlot wouldn't help. > > > res = > > CERT_VerifyCertificate(handle,cert,PR_TRUE,0,pTime,myStruc,&log,&returnedUsages); > > > > // slot->refCount = 3 at this point for the signer certificate. > > The signer certificate may be added to the CRL cache, and gets refcounted > as a result. > > NSS_Shutdown() should take care of releasing that reference when it calls > ShutdownCRLCache(); That's my point - NSS_Shutdown _doesn't_ release that extra reference... -- Alex _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
