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