From 7196fefeef84fd4549f6a20beada9bb921e6baa7 Mon Sep 17 00:00:00 2001 From: Steven Cooreman Date: Wed, 10 Feb 2021 17:13:28 +0100 Subject: [PATCH] Fix unused variable in PSA core when no AEAD algorithm is present Signed-off-by: Steven Cooreman --- library/psa_crypto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index c00875bd0..6dec490c8 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -4584,6 +4584,7 @@ psa_status_t psa_aead_encrypt( mbedtls_svc_key_id_t key, else #endif /* MBEDTLS_CHACHAPOLY_C */ { + (void) tag; return( PSA_ERROR_NOT_SUPPORTED ); }