diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2019-08-09 15:14:07 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2019-08-09 15:14:07 +0800 |
commit | 0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd (patch) | |
tree | 5445c828e718fa3232b4f34653ed55e0b1568e1d | |
parent | ec162fd8c31b9d1164eaf8fbfc664594b858670b (diff) | |
download | copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.tar copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.tar.gz copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.tar.bz2 copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.tar.lz copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.tar.xz copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.tar.zst copr-rpm-spec-0e96afd0d5ebc4dfa8f4abb9d866ea5fb04b69cd.zip |
chromium: Workaround certificate transparency error
https://bugs.chromium.org/p/chromium/issues/detail?id=992287
-rw-r--r-- | chromium/chromium/chromium-certificate-transparency-google.patch | 13 | ||||
-rw-r--r-- | chromium/chromium/chromium.spec | 10 |
2 files changed, 22 insertions, 1 deletions
diff --git a/chromium/chromium/chromium-certificate-transparency-google.patch b/chromium/chromium/chromium-certificate-transparency-google.patch new file mode 100644 index 0000000..60a7b8c --- /dev/null +++ b/chromium/chromium/chromium-certificate-transparency-google.patch @@ -0,0 +1,13 @@ +--- chromium-76.0.3809.87/components/certificate_transparency/chrome_ct_policy_enforcer.cc.orig 2019-07-30 04:35:59.000000000 +0800 ++++ chromium-76.0.3809.87/components/certificate_transparency/chrome_ct_policy_enforcer.cc 2019-08-09 11:55:35.123756411 +0800 +@@ -159,8 +159,8 @@ + + bool ChromeCTPolicyEnforcer::IsLogOperatedByGoogle( + base::StringPiece log_id) const { +- return std::binary_search(std::begin(operated_by_google_logs_), +- std::end(operated_by_google_logs_), log_id); ++ return std::find(operated_by_google_logs_.begin(), ++ operated_by_google_logs_.end(), log_id) != operated_by_google_logs_.end(); + } + + bool ChromeCTPolicyEnforcer::IsLogDataTimely() const { diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec index 48b27e1..c5eadee 100644 --- a/chromium/chromium/chromium.spec +++ b/chromium/chromium/chromium.spec @@ -48,7 +48,7 @@ Name: chromium Version: 76.0.3809.87 -Release: 100%{?dist} +Release: 101%{?dist} Summary: A WebKit (Blink) powered web browser License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2) @@ -86,6 +86,10 @@ Source12: chromium-browser.xml # https://bugs.chromium.org/p/chromium/issues/detail?id=884521 Patch0: chromium-stub-unrar-wrapper.patch +# Workaround certificate transparency error +# https://bugs.chromium.org/p/chromium/issues/detail?id=992287 +Patch1: chromium-certificate-transparency-google.patch + # Fix llvm-ar command usage Patch10: chromium-nacl-llvm-ar.patch @@ -664,6 +668,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Aug 09 2019 - Ting-Wei Lan <lantw44@gmail.com> - 76.0.3809.87-101 +- Workaround certificate transparency error for popular sites such as + Google, Facebook, Yahoo + * Wed Jul 31 2019 - Ting-Wei Lan <lantw44@gmail.com> - 76.0.3809.87-100 - Update to 76.0.3809.87 |