summaryrefslogtreecommitdiff
path: root/rhbz-1400293-workaround.patch
diff options
context:
space:
mode:
authorKai Engert <kaie@redhat.com>2017-03-02 17:56:48 +0100
committerKai Engert <kaie@redhat.com>2017-03-02 17:56:48 +0100
commit23da23838e07a20d8b95a4979ff97674a1281e2d (patch)
treeada13b52c2deb7839f59cc25ec77752801c4edb4 /rhbz-1400293-workaround.patch
parentfixed optimize_flags condition (diff)
downloadlibrewolf-fedora-ff-23da23838e07a20d8b95a4979ff97674a1281e2d.tar.gz
librewolf-fedora-ff-23da23838e07a20d8b95a4979ff97674a1281e2d.tar.bz2
librewolf-fedora-ff-23da23838e07a20d8b95a4979ff97674a1281e2d.zip
Enable upstream fix for rhbz#1400293 mozbz#1324096 on F26 and Rawhide.
Keep the old workaround on F24/F25, required base packages aren't available yet.
Diffstat (limited to 'rhbz-1400293-workaround.patch')
-rw-r--r--rhbz-1400293-workaround.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/rhbz-1400293-workaround.patch b/rhbz-1400293-workaround.patch
new file mode 100644
index 0000000..f9cc7c2
--- /dev/null
+++ b/rhbz-1400293-workaround.patch
@@ -0,0 +1,37 @@
+diff -up ./CertVerifier.cpp.ignoreBuiltinStatus ./CertVerifier.cpp
+--- ./security/certverifier/CertVerifier.cpp.ignoreBuiltinStatus 2016-10-31 21:15:28.000000000 +0100
++++ ./security/certverifier/CertVerifier.cpp 2016-12-16 21:35:32.155105623 +0100
+@@ -65,6 +65,9 @@ InitCertVerifierLog()
+ Result
+ IsCertChainRootBuiltInRoot(const UniqueCERTCertList& chain, bool& result)
+ {
++ result = false;
++ return Success;
++#if 0
+ if (!chain || CERT_LIST_EMPTY(chain)) {
+ return Result::FATAL_ERROR_LIBRARY_FAILURE;
+ }
+@@ -77,12 +80,15 @@ IsCertChainRootBuiltInRoot(const UniqueC
+ return Result::FATAL_ERROR_LIBRARY_FAILURE;
+ }
+ return IsCertBuiltInRoot(root, result);
++#endif
+ }
+
+ Result
+ IsCertBuiltInRoot(CERTCertificate* cert, bool& result)
+ {
+ result = false;
++ return Success;
++#if 0
+ #ifdef DEBUG
+ nsCOMPtr<nsINSSComponent> component(do_GetService(PSM_COMPONENT_CONTRACTID));
+ if (!component) {
+@@ -114,6 +120,7 @@ IsCertBuiltInRoot(CERTCertificate* cert,
+ }
+ }
+ return Success;
++#endif
+ }
+
+ static Result
bgstack15