From 94700198fbb7bc443f2884874ca0ebe5423a8c8b Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Thu, 23 Oct 2025 14:43:52 +0100 Subject: [PATCH] Remove dead code Signed-off-by: Janos Follath --- library/psa_crypto_aead.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c index a201985b4f..307bfe7840 100644 --- a/library/psa_crypto_aead.c +++ b/library/psa_crypto_aead.c @@ -310,9 +310,6 @@ psa_status_t mbedtls_psa_aead_decrypt( exit: mbedtls_psa_aead_abort(&operation); - if (status == PSA_SUCCESS) { - *plaintext_length = ciphertext_length - operation.tag_length; - } return status; }