]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update tls13ccstest.c, removal of deadcode
authorsharad3001 <46183881+sharad3001@users.noreply.github.com>
Mon, 11 Mar 2024 10:19:01 +0000 (15:49 +0530)
committerTomas Mraz <tomas@openssl.org>
Wed, 13 Mar 2024 16:00:48 +0000 (17:00 +0100)
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 <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23813)

test/tls13ccstest.c

index 1dde451c950a320e344e86e59f33f7f9532375ca..48257951758c822b4131ad8f2086020f4dd917ca 100644 (file)
@@ -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;