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

Issue 23621040: Make SSL False Start work with asynchronous certificate validation (Closed)

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

Description

Make SSL False Start work with asynchronous certificate validation (SSL_AuthCertificateComplete). Patch by Brian Smith <brian@briansmith.org>;. NSS bug https://bugzilla.mozilla.org/show_bug.cgi?id=713933 R=agl@chromium.org BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227704

Patch Set 1 #

Patch Set 2 : Fix a merge problem around our patched ssl3_SendEncryptedExtensions call #

Patch Set 3 : Release XmitBufLock before calling ssl3_CheckFalseStart #

Patch Set 4 : Define our own CanFalseStartCallback #

Patch Set 5 : Define our own CanFalseStartCallback #

Total comments: 14

Patch Set 6 : First complete review #

Patch Set 7 : Apply changes from Brian Smith #

Patch Set 8 : Apply changes from Brian Smith #

Patch Set 9 : Use backward compatibility mode #

Patch Set 10 : Add the patch file #

Patch Set 11 : Undo a small change #

Patch Set 12 : Update the patch file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+934 lines, -93 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M net/ssl/ssl_config_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/third_party/nss/README.chromium View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/applypatches.sh View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
A net/third_party/nss/patches/canfalsestart.patch View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +637 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/ssl.h View 1 2 3 4 5 6 2 chunks +63 lines, -10 lines 0 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 3 4 5 6 7 8 9 10 10 chunks +131 lines, -38 lines 0 comments Download
M net/third_party/nss/ssl/ssl3gthr.c View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M net/third_party/nss/ssl/sslauth.c View 1 2 3 4 5 6 2 chunks +1 line, -9 lines 0 comments Download
M net/third_party/nss/ssl/sslimpl.h View 1 2 3 4 5 6 4 chunks +8 lines, -1 line 0 comments Download
M net/third_party/nss/ssl/sslinfo.c View 1 2 3 4 5 6 2 chunks +1 line, -9 lines 0 comments Download
M net/third_party/nss/ssl/sslsecur.c View 1 2 3 4 5 6 7 8 9 6 chunks +76 lines, -18 lines 0 comments Download
M net/third_party/nss/ssl/sslsock.c View 1 2 3 4 5 6 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
wtc
Here is an NSS patch for the SSL False Start code from Brian Smith. (I ...
7 years, 3 months ago (2013-09-13 00:46:55 UTC) #1
agl
LGTM I don't know the async verification flow well enough to say much about this ...
7 years, 3 months ago (2013-09-13 15:03:28 UTC) #2
Ryan Sleevi
This scares me for its changes to the state machine. I remember discussing this with ...
7 years, 3 months ago (2013-09-14 02:13:31 UTC) #3
wtc
Thank you for the review. I responded to rsleevi's comment below. https://codereview.chromium.org/23621040/diff/22001/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): ...
7 years, 3 months ago (2013-09-16 16:14:48 UTC) #4
Ryan Sleevi
On 2013/09/16 16:14:48, wtc wrote: > Thank you for the review. I responded to rsleevi's ...
7 years, 3 months ago (2013-09-17 19:06:02 UTC) #5
wtc
On 2013/09/13 15:03:28, agl wrote: > > My only overall comment would be that I ...
7 years, 3 months ago (2013-09-18 22:41:18 UTC) #6
wtc
On 2013/09/17 19:06:02, Ryan Sleevi wrote: > > The only other question I would ask ...
7 years, 3 months ago (2013-09-18 22:43:21 UTC) #7
wtc
agl,rsleevi: Please review the diffs between patch sets 5 and 6. I reviewed Brian's patch ...
7 years, 3 months ago (2013-09-18 22:57:23 UTC) #8
agl
On Wed, Sep 18, 2013 at 6:41 PM, <wtc@chromium.org> wrote: > an unpatched Chrome will ...
7 years, 3 months ago (2013-09-19 16:54:33 UTC) #9
agl
(leaving LGTM to sleevi.) https://codereview.chromium.org/23621040/diff/22001/net/third_party/nss/ssl/sslauth.c File net/third_party/nss/ssl/sslauth.c (right): https://codereview.chromium.org/23621040/diff/22001/net/third_party/nss/ssl/sslauth.c#newcode141 net/third_party/nss/ssl/sslauth.c:141: } else if (ss->sec.secretKeyBits < ...
7 years, 3 months ago (2013-09-19 16:59:32 UTC) #10
wtc
On 2013/09/19 16:54:33, agl wrote: > On Wed, Sep 18, 2013 at 6:41 PM, <mailto:wtc@chromium.org> ...
7 years, 3 months ago (2013-09-19 17:08:41 UTC) #11
wtc
On 2013/09/19 16:59:32, agl wrote: > > That seems reasonable, although then I think it ...
7 years, 3 months ago (2013-09-19 17:15:48 UTC) #12
agl
LGTM. I don't have the state on this that yourself and bsmith do, but I ...
7 years, 2 months ago (2013-10-08 20:17:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/23621040/119001
7 years, 2 months ago (2013-10-09 03:31:14 UTC) #14
commit-bot: I haz the power
7 years, 2 months ago (2013-10-09 09:40:52 UTC) #15
Message was sent while issue was closed.
Change committed as 227704

Powered by Google App Engine
This is Rietveld 408576698