commit | 70618b22a9b3819c6bb6db86975fd7a0436004f9 | [log] [tgz] |
---|---|---|
author | Paul Elliott <paul.elliott@arm.com> | Wed Sep 22 17:12:16 2021 +0100 |
committer | Paul Elliott <paul.elliott@arm.com> | Wed Sep 22 22:34:17 2021 +0100 |
tree | acd6390fcc5fdaec8620dee251ae9cadfcf607be | |
parent | 2c363a802a35a3a07499a8e603b2d10e3f666d33 [diff] |
Change sizeof to variable rather than struct Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 664b8ae..415dab8 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -3822,7 +3822,7 @@ status = psa_driver_wrapper_aead_abort( operation ); - memset( operation, 0, sizeof( psa_aead_operation_t ) ); + memset( operation, 0, sizeof( *operation ) ); return( status ); }