From b91da71db1ccb6a28a0a9cec7c769ab73d1d32bf Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Thu, 20 May 2021 14:43:47 +0100 Subject: [PATCH] Remove unrequired initialisation 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 adf3b2b7a..e97cbaf98 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3364,7 +3364,7 @@ psa_status_t psa_aead_generate_nonce( psa_aead_operation_t *operation, size_t *nonce_length ) { psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; - size_t required_nonce_size = nonce_size; + size_t required_nonce_size; *nonce_length = 0;