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

Issue 2610903003: [refactor] Extract the CertVerifyResult assignment of has_md2, has_md4, (Closed)

Created:
3 years, 11 months ago by eroman
Modified:
3 years, 11 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[refactor] Extract the CertVerifyResult assignment of has_md2, has_md4, has_md5, has_sha1, has_sha1_leaf to a helper function. This change is a prelude to simplifying the CertVerifyProcWeakDigestTest tests. BUG=649017 Review-Url: https://codereview.chromium.org/2610903003 Cr-Commit-Position: refs/heads/master@{#441801} Committed: https://chromium.googlesource.com/chromium/src/+/b28b2b66578c862d563727cc3f30cf84aae942f0

Patch Set 1 #

Patch Set 2 : rename stuff #

Patch Set 3 : fix ios #

Patch Set 4 : use helper #

Patch Set 5 : moar #

Total comments: 25

Patch Set 6 : remove unused variable #

Patch Set 7 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -135 lines) Patch
M net/cert/cert_verify_proc.h View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc.cc View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc_android.cc View 1 chunk +1 line, -16 lines 0 comments Download
M net/cert/cert_verify_proc_ios.cc View 1 2 3 4 5 2 chunks +1 line, -19 lines 0 comments Download
M net/cert/cert_verify_proc_mac.cc View 1 2 3 4 5 6 1 chunk +13 lines, -41 lines 0 comments Download
M net/cert/cert_verify_proc_nss.cc View 1 chunk +1 line, -23 lines 0 comments Download
M net/cert/cert_verify_proc_openssl.cc View 1 chunk +1 line, -16 lines 0 comments Download
M net/cert/cert_verify_proc_win.cc View 1 chunk +1 line, -20 lines 0 comments Download
M net/cert/x509_certificate.h View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M net/cert/x509_certificate_ios.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M net/cert/x509_certificate_mac.cc View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
M net/cert/x509_certificate_nss.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M net/cert/x509_certificate_openssl.cc View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M net/cert/x509_certificate_win.cc View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (24 generated)
eroman
3 years, 11 months ago (2017-01-05 22:27:13 UTC) #14
Ryan Sleevi
https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.cc File net/cert/cert_verify_proc.cc (right): https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.cc#newcode782 net/cert/cert_verify_proc.cc:782: auto hash = X509Certificate::GetSignatureHashAlgorithm(cert); Seems like this is skirting ...
3 years, 11 months ago (2017-01-05 22:48:25 UTC) #19
eroman
https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.h File net/cert/cert_verify_proc.h (right): https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.h#newcode149 net/cert/cert_verify_proc.h:149: bool FillCertVerifyResultWeakSignature(X509Certificate::OSCertHandle cert, On 2017/01/05 22:48:24, Ryan Sleevi wrote: ...
3 years, 11 months ago (2017-01-05 23:21:54 UTC) #20
eroman
https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.cc File net/cert/cert_verify_proc.cc (right): https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.cc#newcode782 net/cert/cert_verify_proc.cc:782: auto hash = X509Certificate::GetSignatureHashAlgorithm(cert); On 2017/01/05 22:48:24, Ryan Sleevi ...
3 years, 11 months ago (2017-01-05 23:36:31 UTC) #23
Ryan Sleevi
https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.h File net/cert/cert_verify_proc.h (right): https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.h#newcode149 net/cert/cert_verify_proc.h:149: bool FillCertVerifyResultWeakSignature(X509Certificate::OSCertHandle cert, On 2017/01/05 23:21:53, eroman (slow) wrote: ...
3 years, 11 months ago (2017-01-05 23:46:30 UTC) #24
eroman
https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.h File net/cert/cert_verify_proc.h (right): https://codereview.chromium.org/2610903003/diff/70015/net/cert/cert_verify_proc.h#newcode149 net/cert/cert_verify_proc.h:149: bool FillCertVerifyResultWeakSignature(X509Certificate::OSCertHandle cert, On 2017/01/05 23:46:30, Ryan Sleevi wrote: ...
3 years, 11 months ago (2017-01-06 00:47:23 UTC) #25
Ryan Sleevi
On 2017/01/06 00:47:23, eroman (slow) wrote: > That sounds plausible, however TBH I am trying ...
3 years, 11 months ago (2017-01-06 00:49:28 UTC) #26
Ryan Sleevi
LGTM as is, and once this unblocks your stuff, I'll take another pass at reducing ...
3 years, 11 months ago (2017-01-06 00:51:29 UTC) #27
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/2610903003/110001
3 years, 11 months ago (2017-01-06 01:00:29 UTC) #31
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 01:44:36 UTC) #34
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/b28b2b66578c862d563727cc3f30...

Powered by Google App Engine
This is Rietveld 408576698