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

Issue 289590043: First cut of cipherspec queues

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

Description

First cut of cipherspec queues

Patch Set 1 #

Total comments: 14

Patch Set 2 : Revised per self-review #

Total comments: 20

Patch Set 3 : Revised to MT's comments #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -139 lines) Patch
M external_tests/ssl_gtest/libssl_internals.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/libssl_internals.c View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/ssl_loopback_unittest.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/tls_connect.cc View 1 chunk +1 line, -1 line 0 comments Download
M lib/ssl/dtlscon.c View 1 8 chunks +17 lines, -27 lines 0 comments Download
M lib/ssl/ssl3con.c View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M lib/ssl/ssl3gthr.c View 2 chunks +4 lines, -2 lines 0 comments Download
M lib/ssl/sslimpl.h View 1 2 5 chunks +6 lines, -7 lines 0 comments Download
M lib/ssl/tls13con.h View 1 chunk +3 lines, -0 lines 0 comments Download
M lib/ssl/tls13con.c View 1 2 28 chunks +212 lines, -102 lines 0 comments Download

Messages

Total messages: 8
ekr-rietveld
https://codereview.appspot.com/289590043/diff/1/external_tests/ssl_gtest/libssl_internals.c File external_tests/ssl_gtest/libssl_internals.c (right): https://codereview.appspot.com/289590043/diff/1/external_tests/ssl_gtest/libssl_internals.c#newcode105 external_tests/ssl_gtest/libssl_internals.c:105: WS https://codereview.appspot.com/289590043/diff/1/lib/ssl/dtlscon.c File lib/ssl/dtlscon.c (right): https://codereview.appspot.com/289590043/diff/1/lib/ssl/dtlscon.c#newcode937 lib/ssl/dtlscon.c:937: dtls_FreeHandshakeMessages(&ss->ssl3.hs.lastMessageFlight); Actually ...
8 years ago (2016-03-24 19:38:40 UTC) #1
ekr-rietveld
https://codereview.appspot.com/289590043/diff/1/external_tests/ssl_gtest/libssl_internals.c File external_tests/ssl_gtest/libssl_internals.c (right): https://codereview.appspot.com/289590043/diff/1/external_tests/ssl_gtest/libssl_internals.c#newcode105 external_tests/ssl_gtest/libssl_internals.c:105: On 2016/03/24 19:38:40, ekr-webrtc wrote: > WS Done. https://codereview.appspot.com/289590043/diff/1/lib/ssl/dtlscon.c ...
8 years ago (2016-03-24 20:26:18 UTC) #2
ekr-rietveld
PTAL
8 years ago (2016-03-24 20:43:12 UTC) #3
mt
I think that it would a lot better if this could be done for TLS ...
8 years ago (2016-03-29 00:09:27 UTC) #4
ekr-rietveld
MT, I spent some time on the TLS 1.2 version and it's not trivial. In ...
8 years ago (2016-04-01 10:30:39 UTC) #5
ekr-rietveld
8 years ago (2016-04-02 12:37:09 UTC) #6
mt
Yep, ship it. https://codereview.appspot.com/289590043/diff/20001/lib/ssl/tls13con.c File lib/ssl/tls13con.c (right): https://codereview.appspot.com/289590043/diff/20001/lib/ssl/tls13con.c#newcode1306 lib/ssl/tls13con.c:1306: (*specp) = (ssl3CipherSpec *)PR_NEXT_LINK((PRCList *)spec); On ...
8 years ago (2016-04-02 13:00:47 UTC) #7
ekr-rietveld
8 years ago (2016-04-02 13:59:16 UTC) #8
https://codereview.appspot.com/289590043/diff/20001/lib/ssl/tls13con.c
File lib/ssl/tls13con.c (right):

https://codereview.appspot.com/289590043/diff/20001/lib/ssl/tls13con.c#newcod...
lib/ssl/tls13con.c:1306: (*specp) = (ssl3CipherSpec *)PR_NEXT_LINK((PRCList
*)spec);
On 2016/04/02 13:00:47, mt wrote:
> On 2016/04/01 10:30:39, ekr-webrtc wrote:
> > On 2016/03/29 00:09:27, mt wrote:
> > > &spec->link
> > 
> > These are the same. Why do you prefer that?
> 
> &spec->link makes it clearer that you know what you are doing, and there is no
> cast.
OK
Sign in to reply to this message.

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