Remove unrequired initialisation

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-05-20 14:43:47 +01:00
parent ac1b3fd5b6
commit b91da71db1

View file

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