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

Issue 257513008: Populate cert_key_types on OpenSSL. (Closed)

Created:
6 years, 8 months ago by davidben
Modified:
6 years, 7 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Populate cert_key_types on OpenSSL. Add a test to ensure it gets plumbed through correctly. This also rolls third_party/openssl to r270417: ------------------------------------------------------------------------ r269864 | davidben@chromium.org | 2014-05-12 16:21:12 -0400 (Mon, 12 May 2014) | 7 lines Add SSL_get_client_certificate_types. Exposes the certificate_types parameter in a CertificateRequest. BUG=165446 Review URL: https://codereview.chromium.org/254723002 ------------------------------------------------------------------------ r270417 | davidben@chromium.org | 2014-05-14 12:27:52 -0400 (Wed, 14 May 2014) | 10 lines Refactor ssl3_send_client_verify. The original logic was a confusing spaghetti and mixed up initialization for all the different cases together. Tidy it up in preparation for having to adjust this logic later to support asynchronous crypto operations. BUG=none R=agl@chromium.org Review URL: https://codereview.chromium.org//284693002 ------------------------------------------------------------------------ BUG=165446 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271765

Patch Set 1 #

Patch Set 2 : USE_OPENSSL_CERTS #

Total comments: 19

Patch Set 3 : wtc comments #

Patch Set 4 : USE_OPENSSL_CERTS #

Patch Set 5 : #

Patch Set 6 : Rebase, const. #

Patch Set 7 : Rebase, roll DEPS so try jobs can run. #

Patch Set 8 : Updated for signed vs unsigned #

Patch Set 9 : Line length (try jobs on #8) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -27 lines) Patch
M DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 5 6 7 5 chunks +15 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M net/test/spawned_test_server/base_test_server.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M net/test/spawned_test_server/base_test_server.cc View 2 chunks +22 lines, -0 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 6 chunks +27 lines, -6 lines 0 comments Download
M third_party/tlslite/README.chromium View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/tlslite/patches/req_cert_types.patch View 1 2 3 4 5 6 7 8 1 chunk +153 lines, -0 lines 0 comments Download
M third_party/tlslite/tlslite/api.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/tlslite/tlslite/constants.py View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/tlslite/tlslite/messages.py View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/tlslite/tlslite/tlsconnection.py View 1 2 3 4 5 6 7 8 10 chunks +19 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
davidben
Depends on OpenSSL change here: https://codereview.chromium.org/254723002/
6 years, 8 months ago (2014-04-25 00:46:44 UTC) #1
wtc
Patch set 2 LGTM. https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc#newcode1417 net/socket/ssl_client_socket_openssl.cc:1417: // First pass: we know ...
6 years, 8 months ago (2014-04-25 18:52:39 UTC) #2
davidben
https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc#newcode1417 net/socket/ssl_client_socket_openssl.cc:1417: // First pass: we know that a client certificate ...
6 years, 8 months ago (2014-04-25 20:52:31 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc#newcode1417 net/socket/ssl_client_socket_openssl.cc:1417: // First pass: we know that a client certificate ...
6 years, 8 months ago (2014-04-26 01:47:33 UTC) #4
wtc
Patch set 3 LGTM. https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_unittest.cc#newcode2122 net/socket/ssl_client_socket_unittest.cc:2122: // client_key_types is only populated ...
6 years, 8 months ago (2014-04-26 12:36:04 UTC) #5
davidben
https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/257513008/diff/20001/net/socket/ssl_client_socket_openssl.cc#newcode1417 net/socket/ssl_client_socket_openssl.cc:1417: // First pass: we know that a client certificate ...
6 years, 7 months ago (2014-04-30 21:48:16 UTC) #6
wtc
Patch set 5 LGTM.
6 years, 7 months ago (2014-04-30 22:03:04 UTC) #7
davidben
Updated to included an openssl roll, mostly for try coverage. I can split the roll ...
6 years, 7 months ago (2014-05-16 19:05:55 UTC) #8
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 7 months ago (2014-05-20 17:37:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/257513008/160001
6 years, 7 months ago (2014-05-20 17:38:05 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 21:51:49 UTC) #11
Message was sent while issue was closed.
Change committed as 271765

Powered by Google App Engine
This is Rietveld 408576698