Fix unused variable in PSA core when no AEAD algorithm is present

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
Steven Cooreman 2021-02-10 17:13:28 +01:00
parent 6dce4bbe36
commit 7196fefeef

View file

@ -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 );
}