diff options
Diffstat (limited to 'chromium/components/certificate_transparency/chrome_ct_policy_enforcer.cc')
-rw-r--r-- | chromium/components/certificate_transparency/chrome_ct_policy_enforcer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/components/certificate_transparency/chrome_ct_policy_enforcer.cc b/chromium/components/certificate_transparency/chrome_ct_policy_enforcer.cc index 884f44d04ac..98b0f0fc7cb 100644 --- a/chromium/components/certificate_transparency/chrome_ct_policy_enforcer.cc +++ b/chromium/components/certificate_transparency/chrome_ct_policy_enforcer.cc @@ -203,6 +203,8 @@ bool ChromeCTPolicyEnforcer::IsLogOperatedByGoogle( } bool ChromeCTPolicyEnforcer::IsLogDataTimely() const { + if (ct_log_list_always_timely_for_testing_) + return true; // We consider built-in information to be timely for 10 weeks. return (clock_->Now() - log_list_date_).InDays() < 70 /* 10 weeks */; } |