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

Issue 10828269: When renegotiating, continue to use the client_version used in the initial ClientHello (Closed)

Created:
8 years, 4 months ago by wtc
Modified:
8 years, 4 months ago
Reviewers:
agl, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

When renegotiating, continue to use the client_version used in the initial ClientHello to work around a Windows SChannel bug. Cap the record layer version number to TLS 1.0 only for the initial ClientHello. The record layer version number of the ClientHello in a renegotiation should use the currently negotiated version number. R=agl@chromium.org,rsleevi@chromium.org BUG=141629 TEST=Visit https://solutionscenter.naradana.net/, an IIS server that requests (but doesn't require) client certificates over renegotiation. The page should be laid out correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152116

Patch Set 1 #

Patch Set 2 : Comments added. Ready for review #

Total comments: 18

Patch Set 3 : Remove unrelated bug fix, add comments, don't move ss->ssl3.hs.ws assignment #

Total comments: 5

Patch Set 4 : Assert that ss->clientHelloVersion is still in the version range for renegotiation #

Patch Set 5 : Replace assertions with real error checking #

Patch Set 6 : Add the patch file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -45 lines) Patch
M net/third_party/nss/README.chromium View 1 2 3 4 5 2 chunks +7 lines, -2 lines 0 comments Download
M net/third_party/nss/patches/applypatches.sh View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M net/third_party/nss/patches/recordlayerversion.patch View 1 2 3 4 5 13 chunks +40 lines, -30 lines 0 comments Download
A net/third_party/nss/patches/renegoclientversion.patch View 1 2 3 4 5 1 chunk +114 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 3 4 5 8 chunks +78 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
wtc
Please review. I will add the patch file and update README.chromium after both of you ...
8 years, 4 months ago (2012-08-15 03:20:46 UTC) #1
Ryan Sleevi
I'm having a hard time parsing the (if (sidOK)) section, so I'll take a look ...
8 years, 4 months ago (2012-08-15 03:39:07 UTC) #2
agl
https://chromiumcodereview.appspot.com/10828269/diff/5/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://chromiumcodereview.appspot.com/10828269/diff/5/net/third_party/nss/ssl/ssl3con.c#newcode2289 net/third_party/nss/ssl/ssl3con.c:2289: * TLS initial ClientHello. */ (nit: I think there ...
8 years, 4 months ago (2012-08-15 04:02:23 UTC) #3
Ryan Sleevi
https://chromiumcodereview.appspot.com/10828269/diff/5/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://chromiumcodereview.appspot.com/10828269/diff/5/net/third_party/nss/ssl/ssl3con.c#newcode4106 net/third_party/nss/ssl/ssl3con.c:4106: if (ss->firstHsDone) { On 2012/08/15 04:02:23, agl wrote: > ...
8 years, 4 months ago (2012-08-15 04:09:44 UTC) #4
wtc
Response to review comments on patch set 2: Thank you for the review! I anticipated ...
8 years, 4 months ago (2012-08-15 16:16:59 UTC) #5
Ryan Sleevi
I think I'm on board, I'm still just trying to reason about the ss->vrange code ...
8 years, 4 months ago (2012-08-16 00:33:25 UTC) #6
wtc
Please review patch set 4. Patch set 4 retained the structure of patch set 2, ...
8 years, 4 months ago (2012-08-16 01:40:05 UTC) #7
wtc
rsleevi asked me to replace assertions with real error checking. I did that in patch ...
8 years, 4 months ago (2012-08-16 02:27:31 UTC) #8
Ryan Sleevi
lgtm
8 years, 4 months ago (2012-08-16 22:25:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/10828269/8
8 years, 4 months ago (2012-08-17 13:00:14 UTC) #10
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 18:35:59 UTC) #11
Change committed as 152116

Powered by Google App Engine
This is Rietveld 408576698