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

Issue 305130043: Bug 1287267 - Flush ServerHello before sending an alert

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

Description

Bug 1287267 - Flush ServerHello before sending an alert

Patch Set 1 #

Total comments: 5

Patch Set 2 : Adding LOG_ERROR macro in the appropriate places #

Total comments: 5

Patch Set 3 : Merged macros, removed UNIMPLEMENTED #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -102 lines) Patch
M external_tests/ssl_gtest/ssl_auth_unittest.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M external_tests/ssl_gtest/ssl_extension_unittest.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M lib/ssl/tls13con.c View 1 2 11 chunks +94 lines, -84 lines 0 comments Download

Messages

Total messages: 8
ekr-rietveld
I'm not happy about losing all these FATAL_ERRORs because one of the side effects is ...
9 years, 7 months ago (2016-08-08 20:09:56 UTC) #1
mt
Hmm, I don't know what to do about the FATAL_ERROR stuff. I know that it's ...
9 years, 7 months ago (2016-08-08 23:20:05 UTC) #2
ekr-rietveld
On 2016/08/08 23:20:05, mt wrote: > Hmm, I don't know what to do about the ...
9 years, 7 months ago (2016-08-08 23:57:58 UTC) #3
ekr-rietveld
https://codereview.appspot.com/305130043/diff/1/external_tests/ssl_gtest/ssl_auth_unittest.cc File external_tests/ssl_gtest/ssl_auth_unittest.cc (right): https://codereview.appspot.com/305130043/diff/1/external_tests/ssl_gtest/ssl_auth_unittest.cc#newcode127 external_tests/ssl_gtest/ssl_auth_unittest.cc:127: client_->CheckErrorCode(SSL_ERROR_NO_CYPHER_OVERLAP); On 2016/08/08 23:20:04, mt wrote: > On 2016/08/08 ...
9 years, 7 months ago (2016-08-08 23:58:47 UTC) #4
mt
Updated to include a macro for places that can't use an alert. Strategy here was ...
9 years, 7 months ago (2016-08-09 01:35:57 UTC) #5
ekr-rietveld
This seems like we are going to be sad pandas if we ever want to ...
9 years, 7 months ago (2016-08-09 15:46:27 UTC) #6
mt
On 2016/08/09 15:46:27, ekr-webrtc wrote: > This seems like we are going to be sad ...
9 years, 7 months ago (2016-08-10 00:35:38 UTC) #7
ekr-rietveld
9 years, 7 months ago (2016-08-14 22:45:55 UTC) #8
LGTM

https://codereview.appspot.com/305130043/diff/20001/lib/ssl/tls13con.c
File lib/ssl/tls13con.c (right):

https://codereview.appspot.com/305130043/diff/20001/lib/ssl/tls13con.c#newcod...
lib/ssl/tls13con.c:1474: PORT_SetError(code);
On 2016/08/10 00:35:37, mt wrote:
> On 2016/08/09 15:46:27, ekr-webrtc wrote:
> > Maybe I'm missing something, but where does this send the alert?
> > 
> > It seems like
> >  HAndleClientHelloPart2 ->
> >  SendServerHelloSequence ->
> >  SendServerEncryptedHelloSeequence
> 
> In HandleClientHelloPart2, after we call SendServerHelloSequence, a
> handshake_failure alert is sent.

I see it.
Sign in to reply to this message.

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