fix compilation error - missing if

This commit is contained in:
Moran Peker 2018-05-31 14:04:45 +03:00 committed by itayzafrir
parent 96cc00a857
commit 70531163a9

View file

@ -989,7 +989,7 @@ psa_status_t psa_mac_start( psa_mac_operation_t *operation,
return( status ); return( status );
slot = &global_data.key_slots[key]; slot = &global_data.key_slots[key];
\ ( slot->policy.usage & PSA_KEY_USAGE_SIGN ) != 0 ) if( ( slot->policy.usage & PSA_KEY_USAGE_SIGN ) != 0 )
operation->key_usage_sign = 1; operation->key_usage_sign = 1;
if( ( slot->policy.usage & PSA_KEY_USAGE_VERIFY ) != 0 ) if( ( slot->policy.usage & PSA_KEY_USAGE_VERIFY ) != 0 )