Certificate Transparency: Remove the obsolete invalid sct status.
Remove the obsolete enum value SCT_STATUS_INVALID which was replaced
by two distinct enum values.
To avoid crashing Chrome clients which have entries cached on disk
with the obsolete enum value, fail to de-serialize such cache entries.
This reverts commit 321ed2a53224c50af40387e8211726f8400ecad2.
BUG=640296,634006,640689
Review-Url: https://codereview.chromium.org/2294373002
Cr-Commit-Position: refs/heads/master@{#418367}
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc
index 931eb50d..635d7d2 100644
--- a/chrome/browser/ui/website_settings/website_settings.cc
+++ b/chrome/browser/ui/website_settings/website_settings.cc
@@ -196,9 +196,7 @@
: IDS_PAGE_INFO_SECURITY_TAB_SECURE_IDENTITY_CT_VERIFIED);
// Any invalid SCT.
- if (CertificateTransparencyStatusMatchAny(sct_verify_statuses,
- net::ct::SCT_STATUS_INVALID) ||
- CertificateTransparencyStatusMatchAny(
+ if (CertificateTransparencyStatusMatchAny(
sct_verify_statuses, net::ct::SCT_STATUS_INVALID_TIMESTAMP) ||
CertificateTransparencyStatusMatchAny(
sct_verify_statuses, net::ct::SCT_STATUS_INVALID_SIGNATURE))