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

Issue 2327973002: Add CertErrors* parameter to the main Certificate parsing functions. (Closed)

Created:
4 years, 3 months ago by eroman
Modified:
4 years, 3 months ago
Reviewers:
sheretov, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, vadimgo+watch_chromium.org, fuzzing_chromium.org, dougsteed+watch_chromium.org, sheretov+watch_chromium.org, ryanchung+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CertErrors* parameter to the main Certificate parsing functions. This just updates the interface and callers. Actually emitting errors in the underlying implementation will be a different CL. BUG=634443 Committed: https://crrev.com/4f645670f68480c6c78b09b67788942d632937d5 Cr-Commit-Position: refs/heads/master@{#418586}

Patch Set 1 #

Patch Set 2 : fix comment typeo #

Total comments: 6

Patch Set 3 : nullptr #

Total comments: 4

Patch Set 4 : rebase #

Patch Set 5 : mattm's comments #

Patch Set 6 : StringPiece is kind of dangerous... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -151 lines) Patch
M components/cast_certificate/cast_cert_validator.cc View 3 chunks +9 lines, -12 lines 0 comments Download
M components/cast_certificate/cast_cert_validator_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M components/cast_certificate/cast_crl.cc View 1 2 3 4 5 5 chunks +14 lines, -14 lines 0 comments Download
M components/cast_certificate/cast_crl_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M net/cert/internal/cert_issuer_source_aia.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M net/cert/internal/cert_issuer_source_aia_unittest.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M net/cert/internal/cert_issuer_source_static_unittest.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M net/cert/internal/parse_certificate.h View 3 chunks +9 lines, -5 lines 0 comments Download
M net/cert/internal/parse_certificate.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/cert/internal/parse_certificate_fuzzer.cc View 2 chunks +3 lines, -1 line 0 comments Download
M net/cert/internal/parse_certificate_unittest.cc View 3 chunks +8 lines, -2 lines 0 comments Download
M net/cert/internal/parse_ocsp_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/cert/internal/parsed_certificate.h View 3 chunks +64 lines, -21 lines 0 comments Download
M net/cert/internal/parsed_certificate.cc View 3 chunks +53 lines, -25 lines 0 comments Download
M net/cert/internal/path_builder_pkits_unittest.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M net/cert/internal/path_builder_unittest.cc View 4 chunks +13 lines, -10 lines 0 comments Download
M net/cert/internal/test_helpers.cc View 2 chunks +8 lines, -9 lines 0 comments Download
M net/cert/internal/trust_store_nss.cc View 2 chunks +7 lines, -6 lines 0 comments Download
M net/cert/internal/verify_certificate_chain_pkits_unittest.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M net/cert/x509_util.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M net/cert/x509_util_openssl.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/cert_verify_tool/verify_using_path_builder.cc View 3 chunks +21 lines, -17 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (19 generated)
eroman
4 years, 3 months ago (2016-09-09 23:12:24 UTC) #5
mattm
https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc File components/cast_certificate/cast_crl.cc (right): https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc#newcode131 components/cast_certificate/cast_crl.cc:131: signature_policy.get(), &errors)) { Should it use a separate errors ...
4 years, 3 months ago (2016-09-12 23:29:27 UTC) #9
eroman
https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc File components/cast_certificate/cast_crl.cc (right): https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc#newcode131 components/cast_certificate/cast_crl.cc:131: signature_policy.get(), &errors)) { On 2016/09/12 23:29:27, mattm wrote: > ...
4 years, 3 months ago (2016-09-12 23:42:59 UTC) #10
mattm
lgtm with nits https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc File components/cast_certificate/cast_crl.cc (right): https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc#newcode131 components/cast_certificate/cast_crl.cc:131: signature_policy.get(), &errors)) { On 2016/09/12 23:42:59, ...
4 years, 3 months ago (2016-09-13 22:27:38 UTC) #11
eroman
https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc File components/cast_certificate/cast_crl.cc (right): https://codereview.chromium.org/2327973002/diff/20001/components/cast_certificate/cast_crl.cc#newcode131 components/cast_certificate/cast_crl.cc:131: signature_policy.get(), &errors)) { On 2016/09/13 22:27:38, mattm wrote: > ...
4 years, 3 months ago (2016-09-13 22:47:30 UTC) #13
eroman
+sheretov for Cast approval. The changes is basically just to adopt the new API (which ...
4 years, 3 months ago (2016-09-13 23:06:05 UTC) #16
sheretov
lgtm
4 years, 3 months ago (2016-09-14 15:50:56 UTC) #23
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/2327973002/100001
4 years, 3 months ago (2016-09-14 16:31:30 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-14 16:37:20 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 16:40:40 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4f645670f68480c6c78b09b67788942d632937d5
Cr-Commit-Position: refs/heads/master@{#418586}

Powered by Google App Engine
This is Rietveld 408576698