Fix another flipped condition.
This one in code that's not compiled though. Change-Id: I8fb6c2df4669a70223889d31b233b577cf3e6b22 Reviewed-on: https://boringssl-review.googlesource.com/1211 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
committed by
Adam Langley
parent
407a10cf43
commit
8f3234b2c8
+1
-1
@@ -2150,7 +2150,7 @@ static int ssl_scan_clienthello_tlsext(SSL *s, CBS *cbs, int *out_alert)
|
||||
/* Extension consists of a responder_id_list and
|
||||
* request_extensions. */
|
||||
if (!CBS_get_u16_length_prefixed(&extension, &responder_id_list) ||
|
||||
CBS_get_u16_length_prefixed(&extension, &request_extensions) ||
|
||||
!CBS_get_u16_length_prefixed(&extension, &request_extensions) ||
|
||||
CBS_len(&extension) != 0)
|
||||
{
|
||||
*out_alert = SSL_AD_DECODE_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user