Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11582)

Issue 119690044: Negotiate TLS 1.3 draft and use extension to make sure we have matching draft versions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by ekr-rietveld
Modified:
7 years, 8 months ago
Reviewers:
wtc, mt
Visibility:
Public.

Description

Negotiate TLS 1.3 draft and use extension to make sure we have matching draft versions

Patch Set 1 #

Total comments: 28

Patch Set 2 : Revised per WTC #

Patch Set 3 : WTC's comments with Makefile #

Total comments: 8

Patch Set 4 : Revised per MT's comments #

Total comments: 16

Patch Set 5 : Revised per Wan-Teh's comments #

Patch Set 6 : Fix configuration flag (missed comment) #

Total comments: 3

Patch Set 7 : Revert broken extension behavior #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -3 lines) Patch
M lib/ssl/config.mk View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M lib/ssl/dtlscon.c View 2 chunks +7 lines, -0 lines 0 comments Download
M lib/ssl/ssl3ext.c View 1 2 3 4 5 6 4 chunks +97 lines, -1 line 1 comment Download
M lib/ssl/ssl3prot.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M lib/ssl/sslimpl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M lib/ssl/sslproto.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M lib/ssl/sslt.h View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 20
ekr-rietveld
Wan-Teh, I have attached a draft patch to negotiate TLS 1.3. It doesn't make any ...
9 years, 8 months ago (2014-08-11 16:33:46 UTC) #1
wtc
Patch set 1 LGTM. Please upload a new patch set. Would be nice to also ...
9 years, 8 months ago (2014-08-13 21:41:22 UTC) #2
ekr-rietveld
Wan-Teh, I wanted to discuss the use of the draft version extension. The intent here ...
9 years, 8 months ago (2014-08-13 23:36:58 UTC) #3
ekr-rietveld
Here is a revised patch set. Please ignore patch set 2 which inadvertantly did not ...
9 years, 8 months ago (2014-08-18 22:01:32 UTC) #4
mt
I'm a little concerned about the extension handling. Until https://bugzilla.mozilla.org/show_bug.cgi?id=753136 is landed, this isn't going ...
9 years, 8 months ago (2014-08-19 17:03:31 UTC) #5
ekr-rietveld
https://codereview.appspot.com/119690044/diff/40001/lib/ssl/ssl3ext.c File lib/ssl/ssl3ext.c (right): https://codereview.appspot.com/119690044/diff/40001/lib/ssl/ssl3ext.c#newcode2444 lib/ssl/ssl3ext.c:2444: extension_length = 6; /* Type + length + number ...
9 years, 8 months ago (2014-08-19 18:00:19 UTC) #6
mt
https://codereview.appspot.com/119690044/diff/40001/lib/ssl/ssl3ext.c File lib/ssl/ssl3ext.c (right): https://codereview.appspot.com/119690044/diff/40001/lib/ssl/ssl3ext.c#newcode2502 lib/ssl/ssl3ext.c:2502: goto loser; On 2014/08/19 18:00:19, ekr-webrtc wrote: > MT, ...
9 years, 8 months ago (2014-08-19 18:03:56 UTC) #7
ekr-rietveld
This is updated to match MT's review. WTC: I believe this is now ready to ...
9 years, 8 months ago (2014-08-21 16:33:29 UTC) #8
wtc
Patch set 4 LGTM. Thanks! https://codereview.appspot.com/119690044/diff/60001/lib/ssl/Makefile File lib/ssl/Makefile (right): https://codereview.appspot.com/119690044/diff/60001/lib/ssl/Makefile#newcode67 lib/ssl/Makefile:67: endif Please move this ...
9 years, 8 months ago (2014-08-21 18:54:30 UTC) #9
wtc
Eric: I didn't read the discussion between you and Martin. So I may have asked ...
9 years, 8 months ago (2014-08-21 18:55:22 UTC) #10
ekr-rietveld
Wan-Teh, Let me know what your preference is on the comment below and I will ...
9 years, 8 months ago (2014-08-21 19:37:34 UTC) #11
wtc
Eric: Please upload the final patch set here. In Bugzilla it is fine to just ...
9 years, 8 months ago (2014-08-21 20:46:37 UTC) #12
ekr-rietveld
On 2014/08/21 20:46:37, wtc wrote: > Eric: > > Please upload the final patch set ...
9 years, 8 months ago (2014-08-21 20:59:00 UTC) #13
wtc
https://codereview.appspot.com/119690044/diff/60001/lib/ssl/ssl3ext.c File lib/ssl/ssl3ext.c (right): https://codereview.appspot.com/119690044/diff/60001/lib/ssl/ssl3ext.c#newcode2455 lib/ssl/ssl3ext.c:2455: 2); Nit: this probably all fits on one line.
9 years, 8 months ago (2014-08-21 20:59:20 UTC) #14
ekr-rietveld
Hopefully final patch. I will also file a bugzilla bug pointing to this. https://codereview.appspot.com/119690044/diff/60001/lib/ssl/ssl3ext.c File ...
9 years, 8 months ago (2014-08-22 00:12:13 UTC) #15
wtc
Patch set 6 LGTM. Please make two small changes. https://codereview.appspot.com/119690044/diff/100001/lib/ssl/config.mk File lib/ssl/config.mk (right): https://codereview.appspot.com/119690044/diff/100001/lib/ssl/config.mk#newcode9 lib/ssl/config.mk:9: ...
9 years, 8 months ago (2014-08-22 18:14:36 UTC) #16
ekr-rietveld
Wan-Teh, I can make these changes but I wanted to get your opinion on the ...
9 years, 8 months ago (2014-08-22 18:23:18 UTC) #17
wtc
On 2014/08/22 18:23:18, ekr-webrtc wrote: > > Currently if someone sends you a malformed extension ...
9 years, 8 months ago (2014-08-22 18:51:41 UTC) #18
ekr-rietveld
WTC, OK I think this is ready with the new (by which I mean old) ...
9 years, 8 months ago (2014-08-22 20:13:40 UTC) #19
wtc
9 years, 8 months ago (2014-08-22 21:55:23 UTC) #20
Patch set 7 LGTM.

Checked in: https://hg.mozilla.org/projects/nss/rev/970075886b70

https://codereview.appspot.com/119690044/diff/120001/lib/ssl/ssl3ext.c
File lib/ssl/ssl3ext.c (right):

https://codereview.appspot.com/119690044/diff/120001/lib/ssl/ssl3ext.c#newcod...
lib/ssl/ssl3ext.c:2498: SSL_TRC(30, ("%d: SSL3[%d]: Incompatible version of TLS
1.3 (%d), expected %d",

This line is longer than 80 characters. So I broke the string literal into two
before I checked this in.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b