Bug 176501, mozilla apps must manage NSS configuration for PKCS#11 shared libs, including nssckbi.dll

Incremental Patch v4, make sure we indeed look in all possible locations.
r=rrelyea
This commit is contained in:
kaie@kuix.de 2007-06-27 06:15:02 -07:00
parent 49f151e833
commit 7d2821fc1b

View File

@ -810,9 +810,14 @@ nsNSSComponent::InstallLoadableRoots()
PR_FALSE); // do not recurse
if (RootsModule) {
// found a module, no need to try other directories
PRBool found = (RootsModule->loaded);
SECMOD_DestroyModule(RootsModule);
break;
RootsModule = nsnull;
if (found) {
break;
}
}
}
}