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

Issue 11739004: Add server certificate request parameters to be stored in SSLCertRequestInfo. (Closed)

Created:
7 years, 11 months ago by ppi
Modified:
7 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add server certificate request parameters to be stored in SSLCertRequestInfo. Currently SSLCertRequestInfo provides a list of applicable client certificates, filtered against server request. This patch adds the server criteria to the class as a part of a larger refactoring effort. BUG=65546 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175807

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Add changes for openssl socket, add unit tests, address remarks #

Patch Set 3 : Amendments #

Total comments: 24

Patch Set 4 : Address Ryan's remarks #

Total comments: 2

Patch Set 5 : Address Ryan's remark ( ASSERT_TRUE(ptr) ) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -35 lines) Patch
M net/base/ssl_cert_request_info.h View 1 2 chunks +26 lines, -16 lines 0 comments Download
M net/base/ssl_cert_request_info.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/base/test_data_directory.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/test_data_directory.cc View 1 1 chunk +12 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_mac.cc View 3 chunks +15 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 6 chunks +42 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 3 chunks +111 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_win.cc View 2 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ppi
This is an attempt to implement A/ as described in http://crbug.com/166642. Could you guys have ...
7 years, 11 months ago (2013-01-03 18:59:23 UTC) #1
Ryan Sleevi
Mostly this LG, but we should have unit tests. You should be able to use ...
7 years, 11 months ago (2013-01-03 19:15:00 UTC) #2
ppi
Thanks for the remarks, Ryan! In patch set 3 I have added missing implementation for ...
7 years, 11 months ago (2013-01-07 10:43:35 UTC) #3
digit1
That's a pretty nice patch :) https://chromiumcodereview.appspot.com/11739004/diff/30002/net/base/ssl_cert_request_info.h File net/base/ssl_cert_request_info.h (right): https://chromiumcodereview.appspot.com/11739004/diff/30002/net/base/ssl_cert_request_info.h#newcode35 net/base/ssl_cert_request_info.h:35: // } CertificateRequest; ...
7 years, 11 months ago (2013-01-07 11:24:10 UTC) #4
Ryan Sleevi
On Jan 7, 2013 3:24 AM, <digit@chromium.org> wrote: > > That's a pretty nice patch ...
7 years, 11 months ago (2013-01-07 15:46:06 UTC) #5
ppi
Thanks for the remarks David and for the clarification Ryan! Ryan, do you think I ...
7 years, 11 months ago (2013-01-07 18:18:48 UTC) #6
Ryan Sleevi
https://chromiumcodereview.appspot.com/11739004/diff/30002/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://chromiumcodereview.appspot.com/11739004/diff/30002/net/socket/ssl_client_socket_unittest.cc#newcode947 net/socket/ssl_client_socket_unittest.cc:947: GetCertRequest(net::TestServer::SSLOptions ssl_options) { Indent: For overly long function names, ...
7 years, 11 months ago (2013-01-07 18:37:58 UTC) #7
ppi
Thanks for the careful review, Ryan! I have addressed your remarks in patch set 4 ...
7 years, 11 months ago (2013-01-08 17:00:38 UTC) #8
Ryan Sleevi
lgtm https://codereview.chromium.org/11739004/diff/28006/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/11739004/diff/28006/net/socket/ssl_client_socket_unittest.cc#newcode1002 net/socket/ssl_client_socket_unittest.cc:1002: ASSERT_TRUE(request_info != NULL); ASSERT_TRUE(request_info) should suffice
7 years, 11 months ago (2013-01-09 00:33:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ppi@chromium.org/11739004/48001
7 years, 11 months ago (2013-01-09 10:06:58 UTC) #10
ppi
Thanks, Ryan! I have changed the assertion and I am proceeding with a commit. https://codereview.chromium.org/11739004/diff/28006/net/socket/ssl_client_socket_unittest.cc ...
7 years, 11 months ago (2013-01-09 10:08:14 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-09 13:27:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ppi@chromium.org/11739004/48001
7 years, 11 months ago (2013-01-09 13:27:56 UTC) #13
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 16:01:25 UTC) #14
Message was sent while issue was closed.
Change committed as 175807

Powered by Google App Engine
This is Rietveld 408576698