Chromium Code Reviews| Index: net/cert/cert_policy_enforcer.cc |
| diff --git a/net/cert/cert_policy_enforcer.cc b/net/cert/cert_policy_enforcer.cc |
| index 680c2c6d1d792cdf4ef9bf6d9177222cb240e3b5..bd115c5e88a63ad6a1849ea64ddf5644c0a57ddd 100644 |
| --- a/net/cert/cert_policy_enforcer.cc |
| +++ b/net/cert/cert_policy_enforcer.cc |
| @@ -52,10 +52,6 @@ uint32_t ApproximateMonthDifference(const base::Time& start, |
| uint32_t month_diff = (exploded_expiry.year - exploded_start.year) * 12 + |
| (exploded_expiry.month - exploded_start.month); |
|
davidben
2015/03/25 15:00:54
This still isn't quite right, is it? A certificate
Eran Messeri
2015/03/25 18:27:28
This is trickier than it seems, since the policy,
|
| - // Add any remainder as a full month. |
| - if (exploded_expiry.day_of_month > exploded_start.day_of_month) |
| - ++month_diff; |
| - |
| return month_diff; |
| } |