Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Issue 2144693002: Reland of Add CheckOCSPDateValid() to net/cert/internal (Closed)

Created:
4 years, 5 months ago by dadrian
Modified:
4 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Add CheckOCSPDateValid() to net/cert/internal (patchset #1 id:1 of https://codereview.chromium.org/2138413002/ ) Reason for revert: Fix broken 32-bit tests Original issue's description: > Revert of Add CheckOCSPDateValid() to net/cert/internal (patchset #13 id:240001 of https://codereview.chromium.org/2091103002/ ) > > Reason for revert: > Causes reliable test failures on Linux Tests (dbg)(1)(32): > > EncodeValuesTest.EncodeTimeAfterTimeTMax > EncodeValuesTest.EncodeTimeFromBeforeWindows > > Original issue's description: > > Add CheckOCSPDateValid() to net/cert/internal > > > > Intended to be used internally by certificate validation as part of OCSP > > validity checks and Expect-Staple. > > > > BUG=598021 > > > > Committed: https://crrev.com/687cf9fffda1a7eb45c80a596fa4f9e3e524f0e4 > > Cr-Commit-Position: refs/heads/master@{#404708} > > TBR=rsleevi@chromium.org,svaldez@chromium.org,estark@chromium.org,dadrian@google.com > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=598021 > > Committed: https://crrev.com/144744b5cced306a06d167f2e34610378f6336ea > Cr-Commit-Position: refs/heads/master@{#404802} TBR=rsleevi@chromium.org,svaldez@chromium.org,estark@chromium.org,engedy@chromium.org BUG=598021 Committed: https://crrev.com/3e45becd1da65b4a3ff379fb794cc652d496e07e Cr-Commit-Position: refs/heads/master@{#405006}

Patch Set 1 #

Patch Set 2 : Don't use >32-bit times on 32-bit platforms. #

Patch Set 3 : Use base::Time::Exploded #

Total comments: 6

Patch Set 4 : Add documentation, abort early. #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -0 lines) Patch
M net/cert/internal/parse_ocsp.h View 1 2 chunks +13 lines, -0 lines 2 comments Download
M net/cert/internal/parse_ocsp.cc View 1 2 chunks +25 lines, -0 lines 0 comments Download
M net/cert/internal/parse_ocsp_unittest.cc View 1 3 chunks +130 lines, -0 lines 4 comments Download
A net/der/encode_values.h View 1 chunk +29 lines, -0 lines 4 comments Download
A net/der/encode_values.cc View 1 chunk +30 lines, -0 lines 0 comments Download
A net/der/encode_values_unittest.cc View 1 2 3 1 chunk +96 lines, -0 lines 4 comments Download
M net/net.gypi View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
dadrian
Created Reland of Add CheckOCSPDateValid() to net/cert/internal
4 years, 5 months ago (2016-07-12 17:06:51 UTC) #1
dadrian
I #ifdef'd out the tests that had base::Time's with >32-bit values. net_unittests are passing on ...
4 years, 5 months ago (2016-07-12 18:45:50 UTC) #3
estark
On 2016/07/12 18:45:50, dadrian wrote: > I #ifdef'd out the tests that had base::Time's with ...
4 years, 5 months ago (2016-07-12 18:55:05 UTC) #4
engedy
I'd also recommend having an ONWER of this directory taking a look, so they can ...
4 years, 5 months ago (2016-07-12 19:03:34 UTC) #5
dadrian
On 2016/07/12 19:03:34, engedy wrote: > I'd also recommend having an ONWER of this directory ...
4 years, 5 months ago (2016-07-12 19:40:27 UTC) #6
Ryan Sleevi
On 2016/07/12 19:40:27, dadrian wrote: > @rsleevi: Thoughts? Disabling tests on the platforms we expect ...
4 years, 5 months ago (2016-07-12 20:29:45 UTC) #7
dadrian
On 2016/07/12 20:29:45, Ryan Sleevi (extremely slow) wrote: > On 2016/07/12 19:40:27, dadrian wrote: > ...
4 years, 5 months ago (2016-07-13 00:07:13 UTC) #8
Ryan Sleevi
https://codereview.chromium.org/2144693002/diff/200001/net/der/encode_values_unittest.cc File net/der/encode_values_unittest.cc (right): https://codereview.chromium.org/2144693002/diff/200001/net/der/encode_values_unittest.cc#newcode27 net/der/encode_values_unittest.cc:27: TEST(EncodeValuesTest, EncodeTimeFromBeforeWindows) { More documentation needed. // Although the ...
4 years, 5 months ago (2016-07-13 01:17:18 UTC) #9
dadrian
https://codereview.chromium.org/2144693002/diff/200001/net/der/encode_values_unittest.cc File net/der/encode_values_unittest.cc (right): https://codereview.chromium.org/2144693002/diff/200001/net/der/encode_values_unittest.cc#newcode27 net/der/encode_values_unittest.cc:27: TEST(EncodeValuesTest, EncodeTimeFromBeforeWindows) { On 2016/07/13 01:17:18, Ryan Sleevi (extremely ...
4 years, 5 months ago (2016-07-13 02:38:34 UTC) #10
Ryan Sleevi
lgtm
4 years, 5 months ago (2016-07-13 02:43:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2144693002/220001
4 years, 5 months ago (2016-07-13 02:45:16 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:220001)
4 years, 5 months ago (2016-07-13 04:15:23 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 04:15:27 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3e45becd1da65b4a3ff379fb794cc652d496e07e Cr-Commit-Position: refs/heads/master@{#405006}
4 years, 5 months ago (2016-07-13 04:17:04 UTC) #19
Lei Zhang
https://codereview.chromium.org/2144693002/diff/220001/net/cert/internal/parse_ocsp.h File net/cert/internal/parse_ocsp.h (right): https://codereview.chromium.org/2144693002/diff/220001/net/cert/internal/parse_ocsp.h#newcode21 net/cert/internal/parse_ocsp.h:21: class Time; Luckily, TimeDelta is declared somewhere. https://codereview.chromium.org/2144693002/diff/220001/net/cert/internal/parse_ocsp_unittest.cc File ...
4 years, 5 months ago (2016-07-14 10:39:51 UTC) #21
dadrian
thestig: Comments addressed in https://codereview.chromium.org/2148303002/ https://codereview.chromium.org/2144693002/diff/220001/net/cert/internal/parse_ocsp.h File net/cert/internal/parse_ocsp.h (right): https://codereview.chromium.org/2144693002/diff/220001/net/cert/internal/parse_ocsp.h#newcode21 net/cert/internal/parse_ocsp.h:21: class Time; On 2016/07/14 ...
4 years, 5 months ago (2016-07-14 17:37:29 UTC) #22
Lei Zhang
4 years, 5 months ago (2016-07-14 23:12:41 UTC) #23
Message was sent while issue was closed.
On 2016/07/14 17:37:29, dadrian wrote:
> thestig: Comments addressed in https://codereview.chromium.org/2148303002/

Thanks for addressing them quickly!

> On 2016/07/14 10:39:51, Lei Zhang (Slow Thursday) wrote:
> > 2016 is more than half way over.
> 
> Wow! Is it?

Wasn't sure if you had a time machine. ;)

Powered by Google App Engine
This is Rietveld 408576698