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