From 6603359347ef42b4cee2890a27b4e1321e4decf5 Mon Sep 17 00:00:00 2001 From: JustOff Date: Wed, 6 Jun 2018 15:41:35 +0300 Subject: Request NSS to use DBM as the storage file format --- security/manager/ssl/nsNSSComponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/manager/ssl') diff --git a/security/manager/ssl/nsNSSComponent.cpp b/security/manager/ssl/nsNSSComponent.cpp index 1bcdcc1b0..025f4bda2 100644 --- a/security/manager/ssl/nsNSSComponent.cpp +++ b/security/manager/ssl/nsNSSComponent.cpp @@ -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")); -- cgit v1.2.3