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 6874039: Return the constructed certificate chain in X509Certificate::Verify() (Closed)

Created:
9 years, 8 months ago by Ryan Sleevi
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Chris Evans
Visibility:
Public.

Description

Return the constructed certificate chain in X509Certificate::Verify() BUG=65540 TEST=net_unittests --gtest_filter=X509CertificateTest.VerifyReturn* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94832

Patch Set 1 #

Patch Set 2 : Fix OpenSSL build #

Patch Set 3 : Switch certificate chain used for testing, drop AIA testing (for now) #

Patch Set 4 : Ensure the EE cert is marked as a TLS server cert, not a CA cert #

Total comments: 18

Patch Set 5 : Rebase to trunk #

Patch Set 6 : address agl feedback #

Patch Set 7 : wtc feedback #

Total comments: 10

Patch Set 8 : wtc nits #

Patch Set 9 : Rebased to trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -11 lines) Patch
M net/base/cert_verify_result.h View 1 2 3 4 5 6 2 chunks +16 lines, -3 lines 0 comments Download
M net/base/cert_verify_result.cc View 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M net/base/x509_certificate.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 4 5 6 7 3 chunks +17 lines, -3 lines 0 comments Download
M net/base/x509_certificate_openssl.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 2 3 4 5 6 7 1 chunk +142 lines, -0 lines 0 comments Download
M net/base/x509_certificate_win.cc View 1 2 3 4 5 6 7 8 2 chunks +20 lines, -0 lines 0 comments Download
M net/data/ssl/certificates/README View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/x509_verify_results.chain.pem View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_mac.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/ssl_client_socket_win.cc View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Ryan Sleevi
agl: Now that a unique X509Certificate can be returned with the same end-entity but a ...
9 years, 8 months ago (2011-04-17 23:35:18 UTC) #1
agl
LGTM (I'll be unavailable for most of the rest of the day.) Note that SSLHostInfo ...
9 years, 8 months ago (2011-04-18 13:50:27 UTC) #2
wtc
rsleevi: does this mean you can mark http://codereview.chromium.org/3146034/show obsolete now? http://codereview.chromium.org/6874039/diff/6004/net/base/cert_verify_result.h File net/base/cert_verify_result.h (right): http://codereview.chromium.org/6874039/diff/6004/net/base/cert_verify_result.h#newcode30 ...
9 years, 8 months ago (2011-04-20 23:39:29 UTC) #3
Ryan Sleevi
Yes, I've marked that CL obsolete now. http://codereview.chromium.org/6874039/diff/6004/net/base/cert_verify_result.h File net/base/cert_verify_result.h (right): http://codereview.chromium.org/6874039/diff/6004/net/base/cert_verify_result.h#newcode30 net/base/cert_verify_result.h:30: scoped_refptr<X509Certificate> verified_cert; ...
9 years, 8 months ago (2011-04-20 23:44:34 UTC) #4
Ryan Sleevi
agl, wtc: Since it's been 3 months since this was reviewed, I felt it better ...
9 years, 5 months ago (2011-07-23 00:19:49 UTC) #5
agl
I had nits that haven't been updated but, if it merges without huge changes then ...
9 years, 5 months ago (2011-07-25 14:11:56 UTC) #6
Ryan Sleevi
sergeyu: In looking at your http://crrev.com/93153, I get the feeling this may break one or ...
9 years, 5 months ago (2011-07-25 23:51:19 UTC) #7
wtc
rsleevi: please make the following suggested changes. Thanks. Some of the suggested changes apply to ...
9 years, 5 months ago (2011-07-26 00:16:35 UTC) #8
Sergey Ulanov
Unfortunately currently we don't have any tests that test SSL code in sandbox. Looking at ...
9 years, 5 months ago (2011-07-26 00:41:18 UTC) #9
Ryan Sleevi
http://codereview.chromium.org/6874039/diff/6004/net/base/x509_certificate_win.cc File net/base/x509_certificate_win.cc (right): http://codereview.chromium.org/6874039/diff/6004/net/base/x509_certificate_win.cc#newcode299 net/base/x509_certificate_win.cc:299: return; On 2011/07/26 00:16:35, wtc wrote: > Why don't ...
9 years, 5 months ago (2011-07-26 00:44:15 UTC) #10
wtc
http://codereview.chromium.org/6874039/diff/6004/net/socket/ssl_client_socket_mac.cc File net/socket/ssl_client_socket_mac.cc (left): http://codereview.chromium.org/6874039/diff/6004/net/socket/ssl_client_socket_mac.cc#oldcode705 net/socket/ssl_client_socket_mac.cc:705: if (!server_cert_) { On 2011/07/26 00:44:15, Ryan Sleevi wrote: ...
9 years, 5 months ago (2011-07-26 01:37:54 UTC) #11
Ryan Sleevi
http://codereview.chromium.org/6874039/diff/6004/net/base/x509_certificate_nss.cc File net/base/x509_certificate_nss.cc (right): http://codereview.chromium.org/6874039/diff/6004/net/base/x509_certificate_nss.cc#newcode180 net/base/x509_certificate_nss.cc:180: return; On 2011/07/26 00:16:35, wtc wrote: > Why do ...
9 years, 5 months ago (2011-07-26 01:44:50 UTC) #12
Ryan Sleevi
http://codereview.chromium.org/6874039/diff/6004/net/socket/ssl_client_socket_mac.cc File net/socket/ssl_client_socket_mac.cc (left): http://codereview.chromium.org/6874039/diff/6004/net/socket/ssl_client_socket_mac.cc#oldcode705 net/socket/ssl_client_socket_mac.cc:705: if (!server_cert_) { On 2011/07/26 01:37:54, wtc wrote: > ...
9 years, 5 months ago (2011-07-26 01:57:16 UTC) #13
wtc
LGTM. http://codereview.chromium.org/6874039/diff/23001/net/base/cert_verify_result.cc File net/base/cert_verify_result.cc (right): http://codereview.chromium.org/6874039/diff/23001/net/base/cert_verify_result.cc#newcode6 net/base/cert_verify_result.cc:6: #include "net/base/x509_certificate.h" The blank line to separate the ...
9 years, 4 months ago (2011-07-26 19:32:29 UTC) #14
Ryan Sleevi
http://codereview.chromium.org/6874039/diff/23001/net/base/x509_certificate.cc File net/base/x509_certificate.cc (right): http://codereview.chromium.org/6874039/diff/23001/net/base/x509_certificate.cc#newcode596 net/base/x509_certificate.cc:596: CreateFromHandle(cert_handle_, intermediate_ca_certs_); On 2011/07/26 19:32:29, wtc wrote: > Since ...
9 years, 4 months ago (2011-07-26 23:28:31 UTC) #15
commit-bot: I haz the power
9 years, 4 months ago (2011-07-30 08:47:49 UTC) #16
Change committed as 94832

Powered by Google App Engine
This is Rietveld 408576698