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

Issue 293470043: Async cert validation for 1.3 (Closed)

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

Description

Async cert validation for 1.3

Patch Set 1 #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -28 lines) Patch
M external_tests/ssl_gtest/libssl_internals.h View 1 chunk +2 lines, -3 lines 1 comment Download
M external_tests/ssl_gtest/libssl_internals.c View 1 chunk +7 lines, -0 lines 2 comments Download
M external_tests/ssl_gtest/ssl_loopback_unittest.cc View 3 chunks +85 lines, -11 lines 8 comments Download
M external_tests/ssl_gtest/tls_agent.h View 1 chunk +1 line, -1 line 0 comments Download
M external_tests/ssl_gtest/tls_agent.cc View 1 chunk +1 line, -0 lines 0 comments Download
M external_tests/ssl_gtest/tls_connect.h View 2 chunks +11 lines, -0 lines 0 comments Download
M external_tests/ssl_gtest/tls_parser.h View 1 chunk +1 line, -0 lines 0 comments Download
M lib/ssl/ssl3con.c View 1 chunk +0 lines, -5 lines 0 comments Download
M lib/ssl/tls13con.c View 2 chunks +1 line, -8 lines 0 comments Download

Messages

Total messages: 2
ekr-rietveld
LGTM. Yes, I think we should find out how to uplift this to Nightly. Maybe ...
7 years, 11 months ago (2016-05-21 19:23:14 UTC) #1
mt
7 years, 11 months ago (2016-05-21 20:46:14 UTC) #2
https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/libs...
File external_tests/ssl_gtest/libssl_internals.c (right):

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/libs...
external_tests/ssl_gtest/libssl_internals.c:102: sslSocket *ss =
ssl_FindSocket(fd);
On 2016/05/21 19:23:14, ekr-webrtc wrote:
> Check for error.

Done.

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/ssl_...
File external_tests/ssl_gtest/ssl_loopback_unittest.cc (left):

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/ssl_...
external_tests/ssl_gtest/ssl_loopback_unittest.cc:1182: }
On 2016/05/21 19:23:14, ekr-webrtc wrote:
> Why this change?

I originally thought that I would copy this to the new filter code that I added.

But then I realized that Handshake() works well enough if you make the tweak
that I made.

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/ssl_...
File external_tests/ssl_gtest/ssl_loopback_unittest.cc (right):

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/ssl_...
external_tests/ssl_gtest/ssl_loopback_unittest.cc:1283: // messages.  The
Finished message is then processed with the sec.
On 2016/05/21 19:23:14, ekr-webrtc wrote:
> sec.?

Fixed.

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/ssl_...
external_tests/ssl_gtest/ssl_loopback_unittest.cc:1309: case 3:
On 2016/05/21 19:23:14, ekr-webrtc wrote:
> This is pretty confusing. Packet #1 is ServerHello...Finished?, so #2 is
> ServerHello...CertificateVerify and #3 is Finished?

I'll add a few comments.

https://codereview.appspot.com/293470043/diff/1/external_tests/ssl_gtest/ssl_...
external_tests/ssl_gtest/ssl_loopback_unittest.cc:1352: return SECWouldBlock;
On 2016/05/21 19:23:14, ekr-webrtc wrote:
> So in this case, the situation is that the whole server first flight has been
> processed?

Yes.  More comments added.
Sign in to reply to this message.

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