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

Issue 1125333005: RFC 2459 name comparison. (Closed)

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

Description

RFC 2459 name comparison. BUG=410574 Committed: https://crrev.com/057b015555a4af92d9cf5108f9d2a7f4581378f3 Cr-Commit-Position: refs/heads/master@{#342750}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 26

Patch Set 3 : review changes #

Total comments: 14

Patch Set 4 : review changes for Nick, plus some fixes #

Total comments: 4

Patch Set 5 : review changes, implement unicode transcoding #

Total comments: 26

Patch Set 6 : review changes, handle IA5String, handle RDN reordering #

Patch Set 7 : attempt to hack around ios/android unittest compile failure #

Patch Set 8 : win unittest compile fix #

Patch Set 9 : win unittest compile fix #

Total comments: 11

Patch Set 10 : changes for comment #23 #

Total comments: 23

Patch Set 11 : changes for comment #27 #

Patch Set 12 : rebase #

Patch Set 13 : fix win build #

Total comments: 15

Patch Set 14 : changes for comment #31 #

Total comments: 14

Patch Set 15 : changes for comment #33 #

Total comments: 1

Patch Set 16 : rebase #

Total comments: 1

Patch Set 17 : changes for comment #39 #

Patch Set 18 : rebase #

Patch Set 19 : ios copy_test_data #

Patch Set 20 : ios copy_test_data #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2402 lines, -15 lines) Patch
M base/strings/utf_string_conversion_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M net/cert/internal/verify_name_match.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -3 lines 0 comments Download
M net/cert/internal/verify_name_match.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +425 lines, -2 lines 2 comments Download
M net/cert/internal/verify_name_match_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +449 lines, -9 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-case_swap.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +19 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-case_swap-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-case_swap-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-extra_whitespace.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-extra_whitespace-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-extra_whitespace-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +25 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +19 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-unmangled-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-BMPSTRING-unmangled-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-case_swap.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-case_swap-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-case_swap-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-extra_whitespace.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-extra_whitespace-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-extra_whitespace-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-rdn_sorting_1.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-rdn_sorting_2.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-unmangled-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-PRINTABLESTRING-unmangled-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-case_swap.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-case_swap-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-case_swap-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-extra_whitespace.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-extra_whitespace-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-extra_whitespace-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-unmangled-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-T61STRING-unmangled-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-case_swap.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-case_swap-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-case_swap-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +27 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-extra_whitespace.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-extra_whitespace-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +28 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-extra_whitespace-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +29 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-unmangled-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UNIVERSALSTRING-unmangled-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +27 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-case_swap.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-case_swap-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-case_swap-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-extra_whitespace.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-extra_whitespace-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-extra_whitespace-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +23 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-unmangled-extra_attr.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-UTF8-unmangled-extra_rdn.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-mixed-rdn_dupetype_sorting_1.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/ascii-mixed-rdn_dupetype_sorting_2.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +21 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-AttributeTypeAndValue-badAttributeType.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-AttributeTypeAndValue-empty.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-AttributeTypeAndValue-extradata.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-AttributeTypeAndValue-onlyOneElement.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-AttributeTypeAndValue-setNotSequence.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-Name-setInsteadOfSequence.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-RDN-empty.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/invalid-RDN-sequenceInsteadOfSet.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/unicode_bmp-BMPSTRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/unicode_bmp-UNIVERSALSTRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/unicode_bmp-UTF8-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/unicode_supplementary-UNIVERSALSTRING-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/unicode_supplementary-UTF8-unmangled.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/valid-Name-empty.pem View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/names/valid-minimal.pem View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
A net/data/verify_name_match_unittest/scripts/generate-names.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +326 lines, -0 lines 0 comments Download
M net/der/input.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 16 17 1 chunk +3 lines, -0 lines 0 comments Download
M net/der/input.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M net/der/input_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M net/der/tag.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 52 (17 generated)
mattm
Need to do something different with the test files since git thinks half of them ...
5 years, 7 months ago (2015-05-13 00:28:21 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/1125333005/diff/20001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/20001/net/cert/internal/verify_name_match.cc#newcode15 net/cert/internal/verify_name_match.cc:15: class PrintableStringNormalizer { Document :) https://codereview.chromium.org/1125333005/diff/20001/net/cert/internal/verify_name_match.cc#newcode20 net/cert/internal/verify_name_match.cc:20: bool ReadByte(uint8_t* ...
5 years, 7 months ago (2015-05-13 01:27:53 UTC) #3
mattm
https://codereview.chromium.org/1125333005/diff/20001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/20001/net/cert/internal/verify_name_match.cc#newcode15 net/cert/internal/verify_name_match.cc:15: class PrintableStringNormalizer { On 2015/05/13 01:27:52, Ryan Sleevi wrote: ...
5 years, 7 months ago (2015-05-13 03:24:06 UTC) #5
nharper
https://codereview.chromium.org/1125333005/diff/60001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/60001/net/cert/internal/verify_name_match.cc#newcode18 net/cert/internal/verify_name_match.cc:18: der::ByteReader peaker(*reader); nit: peeker https://codereview.chromium.org/1125333005/diff/60001/net/cert/internal/verify_name_match.cc#newcode55 net/cert/internal/verify_name_match.cc:55: (c >= '+' ...
5 years, 7 months ago (2015-05-14 19:21:45 UTC) #7
mattm
Thanks, updated. https://codereview.chromium.org/1125333005/diff/60001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/60001/net/cert/internal/verify_name_match.cc#newcode18 net/cert/internal/verify_name_match.cc:18: der::ByteReader peaker(*reader); On 2015/05/14 19:21:44, nharper wrote: ...
5 years, 7 months ago (2015-05-14 21:38:57 UTC) #8
Ryan Sleevi
Just some remarks while you're digging in https://codereview.chromium.org/1125333005/diff/80001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/80001/net/cert/internal/verify_name_match.cc#newcode67 net/cert/internal/verify_name_match.cc:67: } Do ...
5 years, 7 months ago (2015-05-21 02:20:17 UTC) #9
mattm
Updated for review comments and with unicode transcoding implemented. https://codereview.chromium.org/1125333005/diff/80001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/80001/net/cert/internal/verify_name_match.cc#newcode67 net/cert/internal/verify_name_match.cc:67: ...
5 years, 6 months ago (2015-06-17 03:36:19 UTC) #10
davidben
A drive-by comment because I was morbidly curious. https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc#newcode219 net/cert/internal/verify_name_match.cc:219: while ...
5 years, 6 months ago (2015-06-17 13:33:47 UTC) #12
nharper
I have 2 competing thoughts here: 1) Can the conversions from UniversalString, BMPString, UTF8String, PrintableString ...
5 years, 6 months ago (2015-06-17 19:16:55 UTC) #14
Ryan Sleevi
On 2015/06/17 19:16:55, nharper wrote: > I have 2 competing thoughts here: > > 1) ...
5 years, 6 months ago (2015-06-17 23:56:59 UTC) #15
Ryan Sleevi
https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc#newcode219 net/cert/internal/verify_name_match.cc:219: while (a->HasMore() && b->HasMore()) { On 2015/06/17 13:33:46, David ...
5 years, 6 months ago (2015-06-18 00:28:44 UTC) #16
nharper
On 2015/06/17 23:56:59, Ryan Sleevi wrote: > On 2015/06/17 19:16:55, nharper wrote: > > I ...
5 years, 6 months ago (2015-06-18 00:31:04 UTC) #17
Ryan Sleevi
https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc#newcode29 net/cert/internal/verify_name_match.cc:29: for (; read_iter != output->end() && *read_iter == ' ...
5 years, 6 months ago (2015-06-18 01:30:12 UTC) #18
davidben
https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc#newcode219 net/cert/internal/verify_name_match.cc:219: while (a->HasMore() && b->HasMore()) { On 2015/06/18 00:28:44, Ryan ...
5 years, 6 months ago (2015-06-18 01:58:27 UTC) #20
Ryan Sleevi
https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc#newcode219 net/cert/internal/verify_name_match.cc:219: while (a->HasMore() && b->HasMore()) { On 2015/06/18 01:58:27, David ...
5 years, 6 months ago (2015-06-18 03:30:01 UTC) #21
mattm
https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/100001/net/cert/internal/verify_name_match.cc#newcode52 net/cert/internal/verify_name_match.cc:52: // = ? On 2015/06/18 01:30:12, Ryan Sleevi wrote: ...
5 years, 6 months ago (2015-06-19 22:04:24 UTC) #22
Ryan Sleevi
Partial LGTM :) I've reviewed the implementation, but not all of the tests yet, but ...
5 years, 6 months ago (2015-06-20 00:15:46 UTC) #23
mattm
https://codereview.chromium.org/1125333005/diff/180001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/180001/net/cert/internal/verify_name_match.cc#newcode25 net/cert/internal/verify_name_match.cc:25: }; On 2015/06/20 00:15:45, Ryan Sleevi wrote: > nit: ...
5 years, 6 months ago (2015-06-22 23:42:10 UTC) #24
Ryan Sleevi
https://codereview.chromium.org/1125333005/diff/180001/net/cert/internal/verify_name_match_unittest.cc File net/cert/internal/verify_name_match_unittest.cc (right): https://codereview.chromium.org/1125333005/diff/180001/net/cert/internal/verify_name_match_unittest.cc#newcode114 net/cert/internal/verify_name_match_unittest.cc:114: : public ::testing::TestWithParam<::testing::tuple<bool, const char*>> { On 2015/06/22 23:42:10, ...
5 years, 6 months ago (2015-06-23 07:47:54 UTC) #25
eroman
My 2 cents. Apologies if there are too many cooks in the kitchen now ruining ...
5 years, 5 months ago (2015-07-03 22:31:20 UTC) #27
eroman
https://codereview.chromium.org/1125333005/diff/200001/net/cert/internal/verify_name_match_unittest.cc File net/cert/internal/verify_name_match_unittest.cc (right): https://codereview.chromium.org/1125333005/diff/200001/net/cert/internal/verify_name_match_unittest.cc#newcode20 net/cert/internal/verify_name_match_unittest.cc:20: return der::Input(reinterpret_cast<const uint8_t*>(s.data()), s.size()); On 2015/07/03 22:31:20, eroman wrote: ...
5 years, 5 months ago (2015-07-07 17:29:21 UTC) #28
mattm
https://codereview.chromium.org/1125333005/diff/200001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/200001/net/cert/internal/verify_name_match.cc#newcode12 net/cert/internal/verify_name_match.cc:12: #include "net/cert/internal/verify_name_match.h" On 2015/07/03 22:31:20, eroman wrote: > nit: ...
5 years, 5 months ago (2015-07-16 04:42:32 UTC) #30
Ryan Sleevi
Primarily a "More comments" pass. I think we've got a good pattern emerging from Nick ...
5 years, 5 months ago (2015-07-17 21:29:00 UTC) #31
mattm
https://codereview.chromium.org/1125333005/diff/280001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/280001/net/cert/internal/verify_name_match.cc#newcode200 net/cert/internal/verify_name_match.cc:200: memcpy(vector_as_array(&in_32bit), in.UnsafeData(), in.Length()); On 2015/07/17 21:28:59, Ryan Sleevi wrote: ...
5 years, 5 months ago (2015-07-21 00:17:47 UTC) #32
Ryan Sleevi
https://codereview.chromium.org/1125333005/diff/280001/net/der/input.h File net/der/input.h (right): https://codereview.chromium.org/1125333005/diff/280001/net/der/input.h#newcode65 net/der/input.h:65: void CopyToString(std::string* output) const; On 2015/07/21 00:17:47, mattm wrote: ...
5 years, 4 months ago (2015-07-30 02:30:12 UTC) #33
mattm
[+brettw for base/strings/utf_string_conversion_utils.h] https://codereview.chromium.org/1125333005/diff/300001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/300001/net/cert/internal/verify_name_match.cc#newcode41 net/cert/internal/verify_name_match.cc:41: // However, because it is optional ...
5 years, 4 months ago (2015-08-04 05:02:06 UTC) #38
Ryan Sleevi
Diff between Patchset 14 and Patchset 16 LGTM You may wish to ping Brett directly ...
5 years, 4 months ago (2015-08-07 23:27:04 UTC) #39
brettw
base lgtm
5 years, 4 months ago (2015-08-08 16:53:51 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125333005/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125333005/420001
5 years, 4 months ago (2015-08-10 20:23:29 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/55023)
5 years, 4 months ago (2015-08-10 21:38:51 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125333005/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1125333005/460001
5 years, 4 months ago (2015-08-10 22:58:16 UTC) #48
commit-bot: I haz the power
Committed patchset #20 (id:460001)
5 years, 4 months ago (2015-08-11 00:26:34 UTC) #49
commit-bot: I haz the power
Patchset 20 (id:??) landed as https://crrev.com/057b015555a4af92d9cf5108f9d2a7f4581378f3 Cr-Commit-Position: refs/heads/master@{#342750}
5 years, 4 months ago (2015-08-11 00:27:06 UTC) #50
eroman
https://codereview.chromium.org/1125333005/diff/460001/net/cert/internal/verify_name_match.cc File net/cert/internal/verify_name_match.cc (right): https://codereview.chromium.org/1125333005/diff/460001/net/cert/internal/verify_name_match.cc#newcode362 net/cert/internal/verify_name_match.cc:362: if (a_type_and_values.size() != b_type_and_values.size()) If we are relying on ...
5 years, 3 months ago (2015-09-09 00:01:11 UTC) #51
mattm
5 years, 3 months ago (2015-09-09 01:25:52 UTC) #52
Message was sent while issue was closed.
https://codereview.chromium.org/1125333005/diff/460001/net/cert/internal/veri...
File net/cert/internal/verify_name_match.cc (right):

https://codereview.chromium.org/1125333005/diff/460001/net/cert/internal/veri...
net/cert/internal/verify_name_match.cc:362: if (a_type_and_values.size() !=
b_type_and_values.size())
On 2015/09/09 00:01:11, eroman wrote:
> If we are relying on a size check as part of our equality comparison,
shouldn't
> we also check for duplicates?
> 
> For instance given these two RDNS:
> 
> rdn1:
>   Attribute1=Value1
>   Attribute1=Value1
> 
> rdn2:
>   Attribute1=Value1
>   Attribute2=Value2
> 
> Then
> 
> VerifyRdnMatch(rdn1, rdn2) == true
> 
> However going in the other direction:
> 
> VerifyRdnMatch(rdn2, rdn1) == false
> 
> 
> ... That doesn't seem right...

Yeah, good point. I'll send out a CL to fix that.

Powered by Google App Engine
This is Rietveld 408576698