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

Issue 263213005: Move channel id tests up from OpenSSL and update channelid version. (Closed)

Created:
6 years, 7 months ago by haavardm
Modified:
6 years, 7 months ago
Reviewers:
agl, wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move channel id tests up from OpenSSL and update channelid version. NSS (and soon OpenSSL) runs the new ChannelID version 30032. This patch moves the simple ChannelID tests from OpenSSL unittests to the general ssl_client_socket_unittest.cc and updates the channelid version in TLS Lite. TLS Lite is not updated with ChannelId resumption support since ChannelID signature checking is not yet implemented in TLS Lite. ChannelID Signature checks, along with ChannelId resumption support and ChannelID resumption tests should be implemented in further work. This CL will also roll third_party/openssl: OpenSSL: rolls DEPS 267648->269063 Takes in following change: r269063 | haavardm@opera.com | 2014-05-08 17:48:32 +0200 (to., 08 mai 2014) | 8 lines New tls channel id version for OpenSSL New tls channel id version extracted from patch 0015-channelid.patch attached to http://crbug.com/366961. BUG=366961 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270683

Patch Set 1 #

Total comments: 19

Patch Set 2 : Adressing comments #

Total comments: 8

Patch Set 3 : Style and nit fixes #

Patch Set 4 : Rebased to latest master #

Patch Set 5 : Updated third_party/openssl to latest channel id version #

Total comments: 2

Patch Set 6 : Accept all error codes in SSLClientSocketChannelIDTest.FailingChannelID #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -88 lines) Patch
M DEPS View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl_unittest.cc View 1 5 chunks +0 lines, -85 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 2 3 4 5 6 chunks +145 lines, -0 lines 0 comments Download
M third_party/tlslite/patches/channel_id.patch View 1 chunk +1 line, -1 line 0 comments Download
M third_party/tlslite/tlslite/constants.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
haavardm
This patch is needed to keep ChannelId tests succeeding after updating OpenSSL to the new ...
6 years, 7 months ago (2014-05-06 13:29:49 UTC) #1
wtc
Patch set 1 LGTM. Note that there is a bug in the unit tests, marked ...
6 years, 7 months ago (2014-05-06 17:56:24 UTC) #2
Ryan Sleevi
lgtm https://codereview.chromium.org/263213005/diff/1/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/263213005/diff/1/net/socket/ssl_client_socket_unittest.cc#newcode748 net/socket/ssl_client_socket_unittest.cc:748: void EnabledChannelID() { these should be "EnableChannelID()" / ...
6 years, 7 months ago (2014-05-06 18:45:26 UTC) #3
haavardm
Wtc: I moved the ConnectToTestServer and CreateAndConnectSSLClientSocket methods as you suggested, although I moved them ...
6 years, 7 months ago (2014-05-07 13:53:43 UTC) #4
agl
Ready for CQ?
6 years, 7 months ago (2014-05-07 15:13:20 UTC) #5
haavardm
On 2014/05/07 15:13:20, agl wrote: > Ready for CQ? I would assume so, if there ...
6 years, 7 months ago (2014-05-07 16:42:57 UTC) #6
haavardm
On 2014/05/07 16:42:57, haavardm wrote: > On 2014/05/07 15:13:20, agl wrote: > > Ready for ...
6 years, 7 months ago (2014-05-07 18:10:19 UTC) #7
wtc
Patch set 2 LGTM. https://codereview.chromium.org/263213005/diff/20001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/263213005/diff/20001/net/socket/ssl_client_socket_unittest.cc#newcode654 net/socket/ssl_client_socket_unittest.cc:654: } The indentation of lines ...
6 years, 7 months ago (2014-05-07 19:19:01 UTC) #8
wtc
https://codereview.chromium.org/263213005/diff/20001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/263213005/diff/20001/net/socket/ssl_client_socket_unittest.cc#newcode612 net/socket/ssl_client_socket_unittest.cc:612: // Connect to a HTTPS test server. Nit: it ...
6 years, 7 months ago (2014-05-07 19:23:24 UTC) #9
haavardm
https://codereview.chromium.org/263213005/diff/20001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/263213005/diff/20001/net/socket/ssl_client_socket_unittest.cc#newcode612 net/socket/ssl_client_socket_unittest.cc:612: // Connect to a HTTPS test server. On 2014/05/07 ...
6 years, 7 months ago (2014-05-07 19:42:59 UTC) #10
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 7 months ago (2014-05-08 16:08:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haavardm@opera.com/263213005/100001
6 years, 7 months ago (2014-05-08 16:12:29 UTC) #12
wtc
Patch set 5 LGTM.
6 years, 7 months ago (2014-05-08 17:54:54 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 20:13:39 UTC) #14
haavardm
On 2014/05/08 20:13:39, I haz the power (commit-bot) wrote: > FYI, CQ is re-trying this ...
6 years, 7 months ago (2014-05-08 20:39:17 UTC) #15
haavardm
On 2014/05/08 20:39:17, haavardm wrote: > On 2014/05/08 20:13:39, I haz the power (commit-bot) wrote: ...
6 years, 7 months ago (2014-05-08 21:20:06 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 21:37:15 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/8451)
6 years, 7 months ago (2014-05-08 21:37:16 UTC) #18
Ryan Sleevi
On 2014/05/08 21:20:06, haavardm wrote: > On 2014/05/08 20:39:17, haavardm wrote: > > On 2014/05/08 ...
6 years, 7 months ago (2014-05-08 22:02:23 UTC) #19
haavardm
Currently at BlinkOn Zürich, so answering a little slow. https://codereview.chromium.org/263213005/diff/100001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/263213005/diff/100001/net/socket/ssl_client_socket_unittest.cc#newcode2503 net/socket/ssl_client_socket_unittest.cc:2503: ...
6 years, 7 months ago (2014-05-14 08:26:02 UTC) #20
wtc
https://codereview.chromium.org/263213005/diff/100001/net/socket/ssl_client_socket_unittest.cc File net/socket/ssl_client_socket_unittest.cc (right): https://codereview.chromium.org/263213005/diff/100001/net/socket/ssl_client_socket_unittest.cc#newcode2503 net/socket/ssl_client_socket_unittest.cc:2503: EXPECT_EQ(ERR_UNEXPECTED, rv); Unless the fix is straightforward, I am ...
6 years, 7 months ago (2014-05-14 16:51:07 UTC) #21
haavardm
On 2014/05/14 16:51:07, wtc wrote: > Unless the fix is straightforward, I am fine with ...
6 years, 7 months ago (2014-05-15 09:25:21 UTC) #22
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 7 months ago (2014-05-15 12:10:56 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haavardm@opera.com/263213005/120001
6 years, 7 months ago (2014-05-15 12:11:38 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 13:24:20 UTC) #25
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 16:30:40 UTC) #26
Message was sent while issue was closed.
Change committed as 270683

Powered by Google App Engine
This is Rietveld 408576698