Skip to content

Commit

Permalink
Update tls13ccstest.c, removal of deadcode
Browse files Browse the repository at this point in the history
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 #23813)
  • Loading branch information
sharad3001 authored and t8m committed Mar 13, 2024
1 parent 7649b55 commit 3920283
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/tls13ccstest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3920283

Please sign in to comment.