From: sharad3001 <46183881+sharad3001@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:19:01 +0000 (+0530) Subject: Update tls13ccstest.c, removal of deadcode X-Git-Tag: openssl-3.3.0-alpha1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39202836d6272a2dc44de8797fb34146f0eea51b;p=thirdparty%2Fopenssl.git Update tls13ccstest.c, removal of deadcode tst has been already checked for invalid value in the start of the function with switch statement. Checked again here, so removed deadcode CLA: trivial Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23813) --- diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c index 1dde451c950..48257951758 100644 --- a/test/tls13ccstest.c +++ b/test/tls13ccstest.c @@ -471,10 +471,6 @@ static int test_tls13ccs(int tst) || !TEST_size_t_gt(chsessidlen, 0)) goto err; break; - - default: - TEST_error("Invalid test value"); - goto err; } ret = 1;