mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-07-04 11:58:23 +00:00
Code correction: remove unneeded sizeof
This commit is contained in:
parent
dcd636a73f
commit
7810be273a
|
@ -1001,7 +1001,7 @@ psa_status_t psa_mac_abort( psa_mac_operation_t *operation )
|
||||||
if ( operation->ctx.hmac.hmac_ctx != NULL )
|
if ( operation->ctx.hmac.hmac_ctx != NULL )
|
||||||
{
|
{
|
||||||
mbedtls_zeroize( operation->ctx.hmac.hmac_ctx,
|
mbedtls_zeroize( operation->ctx.hmac.hmac_ctx,
|
||||||
sizeof( operation->ctx.hmac.block_size * 2 ) );
|
operation->ctx.hmac.block_size * 2 );
|
||||||
mbedtls_free( operation->ctx.hmac.hmac_ctx );
|
mbedtls_free( operation->ctx.hmac.hmac_ctx );
|
||||||
operation->ctx.hmac.block_size = 0;
|
operation->ctx.hmac.block_size = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue