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

Issue 1383873002: Add a function for parsing an RFC 5280 Extension. (Closed)

Created:
5 years, 2 months ago by eroman
Modified:
5 years, 1 month ago
Reviewers:
davidben, mattm
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, cbentzel+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a function for parsing an RFC 5280 Extension. BUG=410574 Committed: https://crrev.com/bbc5d0867f8a5ebc21ea9541126f5b2412231d7e Cr-Commit-Position: refs/heads/master@{#358914}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : improve some comments #

Total comments: 6

Patch Set 4 : rebase #

Patch Set 5 : address Ryan's comments #

Patch Set 6 : rebase #

Total comments: 4

Patch Set 7 : address David's comments #

Patch Set 8 : Fix U-A-F in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -0 lines) Patch
M net/cert/internal/parse_certificate.h View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
M net/cert/internal/parse_certificate.cc View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
M net/cert/internal/parse_certificate_unittest.cc View 1 2 3 4 5 6 7 1 chunk +65 lines, -0 lines 0 comments Download
A net/data/parse_certificate_unittest/extension_critical.pem View 1 1 chunk +12 lines, -0 lines 0 comments Download
A net/data/parse_certificate_unittest/extension_critical_0.pem View 1 1 chunk +15 lines, -0 lines 0 comments Download
A net/data/parse_certificate_unittest/extension_critical_3.pem View 1 1 chunk +15 lines, -0 lines 0 comments Download
A net/data/parse_certificate_unittest/extension_not_critical.pem View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
eroman
Tested over CT certificates and didn't find any compat issues with this simple function
5 years, 2 months ago (2015-10-01 21:29:31 UTC) #2
eroman
Changing reviewer davidben --> rsleevi
5 years, 2 months ago (2015-10-22 20:05:14 UTC) #4
eroman
5 years, 2 months ago (2015-10-23 22:50:39 UTC) #5
Ryan Sleevi
I'm surprised you didn't find compat issues, given what Mozilla's seen from GoDaddy certificates. Are ...
5 years, 1 month ago (2015-10-28 22:06:00 UTC) #6
eroman
https://codereview.chromium.org/1383873002/diff/40001/net/cert/internal/parse_certificate.cc File net/cert/internal/parse_certificate.cc (right): https://codereview.chromium.org/1383873002/diff/40001/net/cert/internal/parse_certificate.cc#newcode388 net/cert/internal/parse_certificate.cc:388: return false; // DER-encoding requires DEFAULT values be omitted. ...
5 years, 1 month ago (2015-11-02 20:59:43 UTC) #7
eroman
Changing reviewer back to David/Matt, as Ryan OOO :)
5 years, 1 month ago (2015-11-02 21:07:01 UTC) #9
mattm
lgtm https://codereview.chromium.org/1383873002/diff/40001/net/cert/internal/parse_certificate.cc File net/cert/internal/parse_certificate.cc (right): https://codereview.chromium.org/1383873002/diff/40001/net/cert/internal/parse_certificate.cc#newcode388 net/cert/internal/parse_certificate.cc:388: return false; // DER-encoding requires DEFAULT values be ...
5 years, 1 month ago (2015-11-03 04:20:47 UTC) #10
eroman
https://codereview.chromium.org/1383873002/diff/40001/net/cert/internal/parse_certificate.cc File net/cert/internal/parse_certificate.cc (right): https://codereview.chromium.org/1383873002/diff/40001/net/cert/internal/parse_certificate.cc#newcode388 net/cert/internal/parse_certificate.cc:388: return false; // DER-encoding requires DEFAULT values be omitted. ...
5 years, 1 month ago (2015-11-03 04:53:18 UTC) #11
Ryan Sleevi
On 2015/11/03 04:53:18, eroman wrote: > What do you all think, does this meet our ...
5 years, 1 month ago (2015-11-03 05:30:24 UTC) #12
davidben
lgtm https://codereview.chromium.org/1383873002/diff/100001/net/cert/internal/parse_certificate.cc File net/cert/internal/parse_certificate.cc (right): https://codereview.chromium.org/1383873002/diff/100001/net/cert/internal/parse_certificate.cc#newcode403 net/cert/internal/parse_certificate.cc:403: return false; Super nitpicky nit: I'd swap the ...
5 years, 1 month ago (2015-11-04 17:56:12 UTC) #13
eroman
https://codereview.chromium.org/1383873002/diff/100001/net/cert/internal/parse_certificate.cc File net/cert/internal/parse_certificate.cc (right): https://codereview.chromium.org/1383873002/diff/100001/net/cert/internal/parse_certificate.cc#newcode403 net/cert/internal/parse_certificate.cc:403: return false; On 2015/11/04 17:56:12, davidben wrote: > Super ...
5 years, 1 month ago (2015-11-07 00:35:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1383873002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1383873002/140001
5 years, 1 month ago (2015-11-10 19:51:37 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-10 21:46:50 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 21:47:57 UTC) #19
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/bbc5d0867f8a5ebc21ea9541126f5b2412231d7e
Cr-Commit-Position: refs/heads/master@{#358914}

Powered by Google App Engine
This is Rietveld 408576698