From 4c852c5363cfe6fa40fa6c1bac05ee94b407730a Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 2 Jul 2014 15:24:48 -0400 Subject: [PATCH] Add missing break statement in ssl3_get_client_hello. dc9b1411279f02e604367bc56fca8cf2acc9d531 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 --- ssl/s3_srvr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index cd041451..9e5fdb53 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -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; }