summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharad3001 <46183881+sharad3001@users.noreply.github.com>2024-03-11 15:49:01 +0530
committerTomas Mraz <tomas@openssl.org>2024-03-13 17:00:48 +0100
commit39202836d6272a2dc44de8797fb34146f0eea51b (patch)
tree67f9ab0b1fb6438cf7f0946c193448f8a1bde21d
parent7649b5548e5c0352b91d9d3ed695e42a2ac1e99c (diff)
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 <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23813)
-rw-r--r--test/tls13ccstest.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c
index 1dde451c95..4825795175 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;