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

Issue 14915: Move certificate verification off the IO thread.... (Closed)

Created:
12 years ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Move certificate verification off the IO thread. Move the MapNetErrorToCertStatus and MapCertStatusToNetError functions to cert_status_flags.h so they can be shared with Mac and Linux code. Move the certificate verification function to the X509Certificate class. Right now X509Certificate::Verify is only implemented on Windows. R=eroman BUG=3592 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=9084

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 12

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+499 lines, -364 lines) Patch
M net/base/cert_status_flags.h View 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
A net/base/cert_status_flags.cc View 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M net/base/cert_verifier.h View 4 5 3 chunks +6 lines, -4 lines 0 comments Download
M net/base/cert_verifier.cc View 4 5 6 chunks +11 lines, -12 lines 0 comments Download
A net/base/cert_verify_result.h View 1 chunk +31 lines, -0 lines 0 comments Download
M net/base/ssl_client_socket_mac.cc View 2 3 4 5 2 chunks +1 line, -26 lines 0 comments Download
M net/base/ssl_client_socket_nss.cc View 2 3 4 5 2 chunks +1 line, -26 lines 0 comments Download
M net/base/ssl_client_socket_win.h View 1 2 3 4 5 5 chunks +9 lines, -3 lines 0 comments Download
M net/base/ssl_client_socket_win.cc View 1 2 3 4 5 7 chunks +34 lines, -285 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 4 5 5 chunks +26 lines, -6 lines 0 comments Download
M net/base/x509_certificate_win.cc View 1 2 3 4 5 4 chunks +271 lines, -0 lines 0 comments Download
M net/build/net.vcproj View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M net/net.xcodeproj/project.pbxproj View 2 3 4 5 7 chunks +14 lines, -2 lines 0 comments Download
M net/net_lib.scons View 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
wtc
The responsibility of each reviewer is: eroman: Please review every file. avi,dank: FYI. Please review ...
11 years, 10 months ago (2009-01-29 23:55:36 UTC) #1
wtc
Notes to eroman: Start the review with ssl_client_socket_win.h and ssl_client_socket_win.cc. This CL depends on the ...
11 years, 10 months ago (2009-01-30 00:03:18 UTC) #2
Avi (use Gerrit)
On 2009/01/29 23:55:36, wtc wrote: > avi,dank: FYI. Please review cert_status_flags.* and > ssl_client_socket_mac.cc Those ...
11 years, 10 months ago (2009-01-30 00:05:43 UTC) #3
eroman
nice cleanups! Will look at cert_verifier.{cc,h} shortly (I want to check the behavior of what ...
11 years, 10 months ago (2009-01-30 00:25:40 UTC) #4
dank
Linux part LGTM.
11 years, 10 months ago (2009-01-30 01:27:41 UTC) #5
eroman
Reviewed cert_verifier.{cc,h}, looks good. http://codereview.chromium.org/14915/diff/617/621 File net/base/ssl_client_socket_win.cc (right): http://codereview.chromium.org/14915/diff/617/621#newcode703 Line 703: X509Certificate::CreateFromHandle(dup_cert, I would recommend ...
11 years, 10 months ago (2009-01-30 01:52:43 UTC) #6
wtc
I'll send you a new Patch Set later. Let me respond to your review comments ...
11 years, 10 months ago (2009-01-30 23:47:35 UTC) #7
wtc
avi,dank: You don't need to review this CL again. eroman: Please review Patch Set 4. ...
11 years, 10 months ago (2009-01-31 02:38:22 UTC) #8
wtc
eroman: I just uploaded Patch Set 5. Just some minor comment fixes.
11 years, 10 months ago (2009-01-31 03:15:24 UTC) #9
eroman
11 years, 10 months ago (2009-02-02 20:42:29 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698