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

Issue 301480043: Bug 1286140: HelloRetryRequest

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

Description

Bug 1286140: HelloRetryRequest

Patch Set 1 #

Total comments: 46

Patch Set 2 : Review pass one changes #

Total comments: 5

Patch Set 3 : Updated tests. #

Patch Set 4 : Using a flag rather than states #

Total comments: 31

Patch Set 5 : Big patch set that handles 0-RTT (and adds DTLS 0-RTT because I realized that I had half-debugged i… #

Total comments: 75

Patch Set 6 : Try again #

Patch Set 7 : Stupid rietveld #

Patch Set 8 : Fixes, maybe? #

Patch Set 9 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1087 lines, -417 lines) Patch
M external_tests/ssl_gtest/manifest.mn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M external_tests/ssl_gtest/ssl_0rtt_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +50 lines, -51 lines 0 comments Download
M external_tests/ssl_gtest/ssl_damage_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M external_tests/ssl_gtest/ssl_dhe_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
M external_tests/ssl_gtest/ssl_drop_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -19 lines 0 comments Download
M external_tests/ssl_gtest/ssl_ecdh_unittest.cc View 1 2 3 4 5 6 1 chunk +15 lines, -3 lines 0 comments Download
M external_tests/ssl_gtest/ssl_extension_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
A external_tests/ssl_gtest/ssl_hrr_unittest.cc View 1 2 3 4 5 6 7 1 chunk +192 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/ssl_resumption_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -8 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.h View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -18 lines 0 comments Download
M external_tests/ssl_gtest/tls_agent.cc View 1 2 3 4 5 6 7 8 3 chunks +21 lines, -9 lines 0 comments Download
M external_tests/ssl_gtest/tls_connect.cc View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -15 lines 0 comments Download
M external_tests/ssl_gtest/tls_filter.h View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -3 lines 0 comments Download
M external_tests/ssl_gtest/tls_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/tls_parser.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M lib/ssl/SSLerrs.h View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M lib/ssl/dtlscon.c View 1 2 3 4 5 6 7 5 chunks +19 lines, -6 lines 0 comments Download
M lib/ssl/ssl3con.c View 1 2 3 4 5 6 7 8 20 chunks +127 lines, -56 lines 0 comments Download
M lib/ssl/ssl3ext.c View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -6 lines 0 comments Download
M lib/ssl/sslcon.c View 1 chunk +1 line, -1 line 0 comments Download
M lib/ssl/sslerr.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M lib/ssl/sslimpl.h View 1 2 3 4 5 6 7 8 5 chunks +36 lines, -12 lines 0 comments Download
M lib/ssl/sslinfo.c View 1 2 3 4 5 6 7 1 chunk +3 lines, -7 lines 0 comments Download
M lib/ssl/sslsecur.c View 1 2 3 4 5 6 7 2 chunks +9 lines, -3 lines 0 comments Download
M lib/ssl/sslsock.c View 1 2 3 4 5 6 2 chunks +4 lines, -8 lines 0 comments Download
M lib/ssl/tls13con.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M lib/ssl/tls13con.c View 1 2 3 4 5 6 7 8 22 chunks +492 lines, -182 lines 0 comments Download

Messages

Total messages: 11
ekr-rietveld
You seem to not be handling cookies correctly. At minimum you need to copy them ...
7 years, 8 months ago (2016-08-01 12:02:59 UTC) #1
mt
Using the cookie doesn't work because it isn't mandatory for the server to send: https://tlswg.github.io/tls13-spec/#cookie ...
7 years, 8 months ago (2016-08-03 02:32:08 UTC) #2
ekr-rietveld
I acknowledge your point about the cookie not being required now, but I think it's ...
7 years, 8 months ago (2016-08-03 16:15:20 UTC) #3
mt
To the big outstanding issue: A SECItem* isn't sufficient, as I've said, since NSS doesn't ...
7 years, 8 months ago (2016-08-08 05:29:32 UTC) #4
mt
I've switched to using the flag. I also added a test for retransmission of the ...
7 years, 8 months ago (2016-08-08 06:35:45 UTC) #5
ekr-rietveld
https://codereview.appspot.com/301480043/diff/60001/external_tests/ssl_gtest/ssl_ecdh_unittest.cc File external_tests/ssl_gtest/ssl_ecdh_unittest.cc (right): https://codereview.appspot.com/301480043/diff/60001/external_tests/ssl_gtest/ssl_ecdh_unittest.cc#newcode63 external_tests/ssl_gtest/ssl_ecdh_unittest.cc:63: CheckKeys(ssl_kea_ecdh, ssl_auth_rsa_sign, 384); Maybe we should check that HRR ...
7 years, 8 months ago (2016-08-09 20:23:29 UTC) #6
mt
Just some replies to stuff I failed to look at while I was wrestling with ...
7 years, 8 months ago (2016-08-12 01:23:03 UTC) #7
ekr-rietveld
https://codereview.appspot.com/301480043/diff/60001/external_tests/ssl_gtest/ssl_hrr_unittest.cc File external_tests/ssl_gtest/ssl_hrr_unittest.cc (right): https://codereview.appspot.com/301480043/diff/60001/external_tests/ssl_gtest/ssl_hrr_unittest.cc#newcode130 external_tests/ssl_gtest/ssl_hrr_unittest.cc:130: SSL_ERROR_RX_UNEXPECTED_HELLO_RETRY_REQUEST); On 2016/08/12 01:23:02, mt wrote: > On 2016/08/09 ...
7 years, 8 months ago (2016-08-23 00:07:37 UTC) #8
mt
I think that we should sort out the epoch changes. I have a patch now ...
7 years, 8 months ago (2016-08-23 07:22:11 UTC) #9
ekr-rietveld
MT, I don't think this picked up the claimed changes. In any case, I think ...
7 years, 8 months ago (2016-08-23 16:58:32 UTC) #10
mt
7 years, 8 months ago (2016-08-24 01:16:57 UTC) #11
Clean version of the same code available at:
https://codereview.appspot.com/301660044
Sign in to reply to this message.

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