From e1641d00e24d08af4fea7c43534eeb86d0135811 Mon Sep 17 00:00:00 2001 From: Ben Taylor Date: Thu, 4 Jun 2026 07:56:13 +0100 Subject: [PATCH] Remove assertion that ctx.ciphertext_len is 0 Signed-off-by: Ben Taylor (cherry picked from commit 3f3d3da789e05f078a4df9995278d3d53e273513) --- tests/suites/test_suite_chachapoly.function | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/suites/test_suite_chachapoly.function b/tests/suites/test_suite_chachapoly.function index fb4288ffb4..bdea57b8f2 100644 --- a/tests/suites/test_suite_chachapoly.function +++ b/tests/suites/test_suite_chachapoly.function @@ -95,7 +95,6 @@ void chachapoly_update_too_long() ctx.chacha20_ctx.state[12] = UINT32_MAX; TEST_EQUAL(mbedtls_chachapoly_update(&ctx, sizeof(input), input, output), MBEDTLS_ERR_CHACHA20_BAD_INPUT_DATA); - TEST_EQUAL(ctx.ciphertext_len, 0); exit: mbedtls_chachapoly_free(&ctx);