Browse Source

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>
kris/onging/CECPQ3_patch15
David Benjamin 10 years ago
committed by Adam Langley
parent
commit
4c852c5363
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ssl/s3_srvr.c

+ 2
- 0
ssl/s3_srvr.c View File

@@ -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…
Cancel
Save