From efda3408ce87fc659e273ed86bf66a75390ffeb1 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Wed, 25 Aug 2021 17:16:52 +0100 Subject: [PATCH] Fix formatting issues Signed-off-by: Paul Elliott --- library/psa_crypto_aead.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c index 92c5ccf9ea..337748a23b 100644 --- a/library/psa_crypto_aead.c +++ b/library/psa_crypto_aead.c @@ -469,7 +469,7 @@ psa_status_t mbedtls_psa_aead_set_nonce( operation->is_encrypt ? MBEDTLS_CHACHAPOLY_ENCRYPT : MBEDTLS_CHACHAPOLY_DECRYPT ) ); - } + } else #endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */ { @@ -482,6 +482,7 @@ psa_status_t mbedtls_psa_aead_set_nonce( return( status ); } + /* Declare the lengths of the message and additional data for AEAD. */ psa_status_t mbedtls_psa_aead_set_lengths( mbedtls_psa_aead_operation_t *operation,