1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Change sizeof(type) to sizeof(variable)

This commit is contained in:
Gilles Peskine
2018-06-18 16:07:14 +02:00
committed by itayzafrir
parent c1bb6c8dcc
commit 803ce7402a

View File

@@ -2021,7 +2021,7 @@ psa_status_t psa_cipher_abort( psa_cipher_operation_t *operation )
void psa_key_policy_init( psa_key_policy_t *policy )
{
memset( policy, 0, sizeof( psa_key_policy_t ) );
memset( policy, 0, sizeof( *policy ) );
}
void psa_key_policy_set_usage( psa_key_policy_t *policy,