diff options
author | David Benjamin <davidben@chromium.org> | 2014-07-02 23:24:48 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-07-02 23:46:50 +0400 |
commit | 4c852c5363cfe6fa40fa6c1bac05ee94b407730a (patch) | |
tree | 83b3effbcc482a45c3914ff4056ca19d74f1833d | |
parent | 325b5c36677dd29e6eb64dd5b5991dd8950108ac (diff) |
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 <agl@google.com>
-rw-r--r-- | ssl/s3_srvr.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |