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

Issue 291500043: Bug 1253161 - Remove unused or unuseful macros in libssl (Closed)

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

Description

These macros are not used much and were just lazy programming

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use send alert direct for RSA client key failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -32 lines) Patch
M lib/ssl/ssl3con.c View 1 4 chunks +7 lines, -5 lines 0 comments Download
M lib/ssl/sslcon.c View 1 chunk +0 lines, -3 lines 0 comments Download
M lib/ssl/sslimpl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M lib/ssl/sslsecur.c View 1 chunk +0 lines, -5 lines 0 comments Download
M lib/ssl/sslsnce.c View 7 chunks +7 lines, -11 lines 0 comments Download
M lib/ssl/sslsock.c View 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 4
mt
8 years ago (2016-04-20 03:02:21 UTC) #1
ttaubert
https://codereview.appspot.com/291500043/diff/1/lib/ssl/ssl3con.c File lib/ssl/ssl3con.c (right): https://codereview.appspot.com/291500043/diff/1/lib/ssl/ssl3con.c#newcode10625 lib/ssl/ssl3con.c:10625: return SECFailure; /* error code set */ Should we ...
8 years ago (2016-04-26 09:40:26 UTC) #2
mt
Use send alert direct for RSA client key failure
8 years ago (2016-04-26 11:17:37 UTC) #3
mt
8 years ago (2016-04-26 11:18:48 UTC) #4
https://codereview.appspot.com/291500043/diff/1/lib/ssl/ssl3con.c
File lib/ssl/ssl3con.c (right):

https://codereview.appspot.com/291500043/diff/1/lib/ssl/ssl3con.c#newcode10625
lib/ssl/ssl3con.c:10625: return SECFailure; /* error code set */
On 2016/04/26 09:40:26, ttaubert wrote:
> Should we just use |SSL3_SendAlert(ss, alert_fatal, handshake_failure)| so
that
> |ssl3_HandshakeFailure| doesn't override the error set by
> |ssl3_HandleRSAClientKeyExchange|?

Yeah, though it means saving the error code either way unfortunately. 
SSL3_SendAlert might fail and pollute things.
Sign in to reply to this message.

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