mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Request NSS to use DBM as the storage file format
This commit is contained in:
parent
8c296a9714
commit
7ff80ee648
4 changed files with 17 additions and 5 deletions
|
|
@ -1828,11 +1828,11 @@ nsNSSComponent::InitializeNSS()
|
|||
if (!nocertdb && !profileStr.IsEmpty()) {
|
||||
// First try to initialize the NSS DB in read/write mode.
|
||||
// Only load PKCS11 modules if we're not in safe mode.
|
||||
init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false, !inSafeMode);
|
||||
init_rv = ::mozilla::psm::InitializeNSS(profileStr, false, !inSafeMode);
|
||||
// If that fails, attempt read-only mode.
|
||||
if (init_rv != SECSuccess) {
|
||||
MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("could not init NSS r/w in %s\n", profileStr.get()));
|
||||
init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), true, !inSafeMode);
|
||||
init_rv = ::mozilla::psm::InitializeNSS(profileStr, true, !inSafeMode);
|
||||
}
|
||||
if (init_rv != SECSuccess) {
|
||||
MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("could not init in r/o either\n"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue