From 5c366d62e8d1d86c19a4d76d97f29ca64bad194c Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 8 Apr 2015 02:28:09 -0400 Subject: [PATCH] Remove dead code. That block is slightly unreachable. Change-Id: I1b4b2d8b1cd4bb7137ce0aac4b65079545cd9264 Reviewed-on: https://boringssl-review.googlesource.com/4286 Reviewed-by: Adam Langley --- ssl/ssl_ciph.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 252a9a4c..7a5c8bee 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -677,12 +677,6 @@ static int ssl_cipher_process_rulestr(const SSL_PROTOCOL_METHOD *ssl_method, if (in_group) { if (ch == ']') { - if (!in_group) { - OPENSSL_PUT_ERROR(SSL, ssl_cipher_process_rulestr, - SSL_R_UNEXPECTED_GROUP_CLOSE); - retval = in_group = 0; - break; - } if (*tail_p) { (*tail_p)->in_group = 0; }