Change sizeof to variable rather than struct

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-09-22 17:12:16 +01:00
parent 2c363a802a
commit 70618b22a9

View file

@ -3822,7 +3822,7 @@ psa_status_t psa_aead_abort( psa_aead_operation_t *operation )
status = psa_driver_wrapper_aead_abort( operation );
memset( operation, 0, sizeof( psa_aead_operation_t ) );
memset( operation, 0, sizeof( *operation ) );
return( status );
}