commit | 70531163a9a94d39f85e4b7118f60a391ca0c37f | [log] [tgz] |
---|---|---|
author | Moran Peker <moran.peker@arm.com> | Thu May 31 14:04:45 2018 +0300 |
committer | itayzafrir <itay.zafrir@arm.com> | Wed Sep 05 12:14:28 2018 +0300 |
tree | fadeb2eac76a103c3b7b44c36e7acdd617751609 | |
parent | 96cc00a8577e582e2a59bfc7412e73e0695ddf05 [diff] |
fix compilation error - missing if
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 4f02bb2..56f3e1d 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -989,7 +989,7 @@ return( status ); 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; if( ( slot->policy.usage & PSA_KEY_USAGE_VERIFY ) != 0 )