Add missing break statement in ssl3_get_client_hello.
dc9b141127
added a default case when importing
the patch but accidentally falls through all the time.
Change-Id: Ieb9beeb9e3ffcf77f2842841eda7d28a62fe8072
Reviewed-on: https://boringssl-review.googlesource.com/1073
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
325b5c3667
commit
4c852c5363
@ -966,7 +966,9 @@ int ssl3_get_client_hello(SSL *s)
|
||||
}
|
||||
}
|
||||
s->state = SSL3_ST_SR_CLNT_HELLO_D;
|
||||
break;
|
||||
default:
|
||||
OPENSSL_PUT_ERROR(SSL, ssl3_get_client_hello, SSL_R_UNKNOWN_STATE);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user