Attestation: astyle fixs

Runing astyle over attestation file to pass CI
pull/9668/head
Moran Peker 2019-02-12 14:34:28 +02:00
parent a994499bf3
commit 8fc9c8fdab
5 changed files with 17 additions and 19 deletions

View File

@ -148,11 +148,9 @@ t_cose_crypto_hash_start(struct t_cose_crypto_hash *hash_ctx,
void t_cose_crypto_hash_update(struct t_cose_crypto_hash *hash_ctx, void t_cose_crypto_hash_update(struct t_cose_crypto_hash *hash_ctx,
struct useful_buf_c data_to_hash) struct useful_buf_c data_to_hash)
{ {
if (data_to_hash.ptr != NULL) if (data_to_hash.ptr != NULL) {
{
psa_hash_update(&hash_handle, data_to_hash.ptr, data_to_hash.len); psa_hash_update(&hash_handle, data_to_hash.ptr, data_to_hash.len);
} else } else {
{
/* Intentionally do nothing, just computing the size of the token */ /* Intentionally do nothing, just computing the size of the token */
} }
} }