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