Mozilla Thunderbird mail/newsgroup client
CentOS Sources
2019-02-04 cf9011aff009d664f6d013c685f60b9ec6e80b18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -up firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp.1503632-nss firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp
--- firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp.1503632-nss    2019-01-22 11:38:49.484365928 +0100
+++ firefox-60.5.0/security/certverifier/NSSCertDBTrustDomain.cpp    2019-01-22 11:40:52.694779150 +0100
@@ -1077,13 +1077,11 @@ SECStatus InitializeNSS(const nsACString
   if (!loadPKCS11Modules) {
     flags |= NSS_INIT_NOMODDB;
   }
-  nsAutoCString dbTypeAndDirectory("sql:");
-  dbTypeAndDirectory.Append(dir);
   MOZ_LOG(gCertVerifierLog, LogLevel::Debug,
-          ("InitializeNSS(%s, %d, %d)", dbTypeAndDirectory.get(), readOnly,
+          ("InitializeNSS(%s, %d, %d)", PromiseFlatCString(dir).get(), readOnly,
            loadPKCS11Modules));
   SECStatus srv =
-      NSS_Initialize(dbTypeAndDirectory.get(), "", "", SECMOD_DB, flags);
+      NSS_Initialize(PromiseFlatCString(dir).get(), "", "", SECMOD_DB, flags);
   if (srv != SECSuccess) {
     return srv;
   }