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