From b00b9a180d790ff38f2265bace04a3f0105486aa Mon Sep 17 00:00:00 2001
From: CentOS Sources <bugs@centos.org>
Date: Mon, 04 Feb 2019 19:29:28 +0000
Subject: [PATCH] debrand thunderbird-60.5.0-1.el7_6

---
 SOURCES/rhbz-1503632-nss.patch |   23 +++++++----------------
 1 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/SOURCES/rhbz-1503632-nss.patch b/SOURCES/rhbz-1503632-nss.patch
index f9f5e4d..f7a26d3 100644
--- a/SOURCES/rhbz-1503632-nss.patch
+++ b/SOURCES/rhbz-1503632-nss.patch
@@ -1,12 +1,7 @@
-diff --git a/security/certverifier/NSSCertDBTrustDomain.cpp b/security/certverifier/NSSCertDBTrustDomain.cpp
---- a/security/certverifier/NSSCertDBTrustDomain.cpp
-+++ b/security/certverifier/NSSCertDBTrustDomain.cpp
-@@ -1057,22 +1057,20 @@ InitializeNSS(const nsACString& dir, boo
-   // "/usr/lib/nss/libnssckbi.so".
-   uint32_t flags = NSS_INIT_NOROOTINIT | NSS_INIT_OPTIMIZESPACE;
-   if (readOnly) {
-     flags |= NSS_INIT_READONLY;
-   }
+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;
    }
@@ -16,13 +11,9 @@
 -          ("InitializeNSS(%s, %d, %d)", dbTypeAndDirectory.get(), readOnly,
 +          ("InitializeNSS(%s, %d, %d)", PromiseFlatCString(dir).get(), readOnly,
             loadPKCS11Modules));
--  SECStatus srv = NSS_Initialize(dbTypeAndDirectory.get(), "", "",
-+  SECStatus srv = NSS_Initialize(PromiseFlatCString(dir).get(), "", "",
-                                  SECMOD_DB, flags);
+   SECStatus srv =
+-      NSS_Initialize(dbTypeAndDirectory.get(), "", "", SECMOD_DB, flags);
++      NSS_Initialize(PromiseFlatCString(dir).get(), "", "", SECMOD_DB, flags);
    if (srv != SECSuccess) {
      return srv;
    }
- 
-   if (!readOnly) {
-     UniquePK11SlotInfo slot(PK11_GetInternalKeySlot());
-     if (!slot) {

--
Gitblit v1.8.0