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