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