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

Issue 1685023002: Fix API mismatch between NameConstraints::IsPermittedCert's subjectAltName param and ParseExtension. (Closed)

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

Description

Fix API mismatch between NameConstraints::IsPermittedCert's subjectAltName param and ParseExtension. BUG=none Committed: https://crrev.com/0cb852e886746830b48c09b426705b23c6845d4c Cr-Commit-Position: refs/heads/master@{#374826}

Patch Set 1 #

Total comments: 6

Patch Set 2 : updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -99 lines) Patch
M net/cert/internal/name_constraints.h View 1 1 chunk +6 lines, -4 lines 0 comments Download
M net/cert/internal/name_constraints.cc View 5 chunks +7 lines, -11 lines 0 comments Download
M net/cert/internal/name_constraints_unittest.cc View 26 chunks +54 lines, -53 lines 0 comments Download
M net/data/name_constraints_unittest/generate_name_constraints.py View 1 chunk +1 line, -1 line 0 comments Download
M net/data/name_constraints_unittest/san-edipartyname.pem View 1 chunk +4 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-excluded-directoryname.pem View 1 chunk +30 lines, -4 lines 0 comments Download
M net/data/name_constraints_unittest/san-excluded-dnsname.pem View 1 chunk +17 lines, -4 lines 0 comments Download
M net/data/name_constraints_unittest/san-excluded-ipaddress.pem View 1 chunk +16 lines, -3 lines 0 comments Download
M net/data/name_constraints_unittest/san-invalid-empty.pem View 1 chunk +2 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-invalid-ipaddress.pem View 1 chunk +3 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-othername.pem View 1 chunk +5 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-permitted.pem View 1 chunk +15 lines, -3 lines 0 comments Download
M net/data/name_constraints_unittest/san-registeredid.pem View 1 chunk +3 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-rfc822name.pem View 1 chunk +3 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-uri.pem View 1 chunk +3 lines, -2 lines 0 comments Download
M net/data/name_constraints_unittest/san-x400address.pem View 1 chunk +6 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (3 generated)
mattm
ParseExtension strips the OCTET STRING, but the NameConstraints was written before the Extension parsing code ...
4 years, 10 months ago (2016-02-10 02:56:16 UTC) #2
eroman
lgtm https://codereview.chromium.org/1685023002/diff/1/net/cert/internal/name_constraints.h File net/cert/internal/name_constraints.h (right): https://codereview.chromium.org/1685023002/diff/1/net/cert/internal/name_constraints.h#newcode89 net/cert/internal/name_constraints.h:89: // sequence. |subject_alt_name_extnvalue_tlv| should be the extnValue of ...
4 years, 10 months ago (2016-02-10 17:30:09 UTC) #3
mattm
https://codereview.chromium.org/1685023002/diff/1/net/cert/internal/name_constraints.h File net/cert/internal/name_constraints.h (right): https://codereview.chromium.org/1685023002/diff/1/net/cert/internal/name_constraints.h#newcode89 net/cert/internal/name_constraints.h:89: // sequence. |subject_alt_name_extnvalue_tlv| should be the extnValue of the ...
4 years, 10 months ago (2016-02-10 22:48:40 UTC) #4
eroman
lgtm
4 years, 10 months ago (2016-02-10 23:56:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685023002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685023002/20001
4 years, 10 months ago (2016-02-11 00:08:58 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-11 01:31:26 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:33:48 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0cb852e886746830b48c09b426705b23c6845d4c
Cr-Commit-Position: refs/heads/master@{#374826}

Powered by Google App Engine
This is Rietveld 408576698