Blame SOURCES/rhbz-1503632-nss.patch
|
|
cd486f |
diff -up firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp.1503632-nss firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp
|
|
|
cd486f |
--- firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp.1503632-nss 2019-01-22 11:38:49.484365928 +0100
|
|
|
cd486f |
+++ firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp 2019-01-22 11:40:52.694779150 +0100
|
|
|
cd486f |
@@ -1077,13 +1077,11 @@ SECStatus InitializeNSS(const nsACString
|
|
|
cd486f |
if (!loadPKCS11Modules) {
|
|
|
cd486f |
flags |= NSS_INIT_NOMODDB;
|
|
|
cd486f |
}
|
|
|
cd486f |
- nsAutoCString dbTypeAndDirectory("sql:");
|
|
|
cd486f |
- dbTypeAndDirectory.Append(dir);
|
|
|
cd486f |
MOZ_LOG(gCertVerifierLog, LogLevel::Debug,
|
|
|
cd486f |
- ("InitializeNSS(%s, %d, %d)", dbTypeAndDirectory.get(), readOnly,
|
|
|
cd486f |
+ ("InitializeNSS(%s, %d, %d)", PromiseFlatCString(dir).get(), readOnly,
|
|
|
cd486f |
loadPKCS11Modules));
|
|
|
cd486f |
SECStatus srv =
|
|
|
cd486f |
- NSS_Initialize(dbTypeAndDirectory.get(), "", "", SECMOD_DB, flags);
|
|
|
cd486f |
+ NSS_Initialize(PromiseFlatCString(dir).get(), "", "", SECMOD_DB, flags);
|
|
|
cd486f |
if (srv != SECSuccess) {
|
|
|
cd486f |
return srv;
|
|
|
cd486f |
}
|