From 69bf5fc901d4d2838b8a2df03d7c733ade6d5602 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Sun, 19 Sep 2021 18:26:37 +0100 Subject: [PATCH] Const correctness Signed-off-by: Paul Elliott --- library/psa_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 15495626ba..8af26d33b0 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3713,7 +3713,7 @@ exit: return( status ); } -static psa_status_t psa_aead_final_checks( psa_aead_operation_t *operation ) +static psa_status_t psa_aead_final_checks( const psa_aead_operation_t *operation ) { if( operation->id == 0 || !operation->nonce_set ) return( PSA_ERROR_BAD_STATE );