mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-07 01:17:25 +00:00
Remove assertion that ctx.ciphertext_len is 0
Signed-off-by: Ben Taylor <[email protected]> (cherry picked from commit 3f3d3da789e05f078a4df9995278d3d53e273513)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user