Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
fix: add missing semi-columns to TRY/CATCH macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Edouard Merle committed Apr 13, 2022
1 parent a2c0271 commit a4bf6af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apdu_hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static inline size_t hmac(uint8_t *const out,
memset(&key_pair, 0, sizeof(key_pair));
}
}
END_TRY
END_TRY;

// Hash the signed value with SHA512 to get a 64-byte key for HMAC.
cx_hash_sha512(state->signed_hmac_key,
Expand Down
2 changes: 1 addition & 1 deletion src/apdu_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ static int perform_signature(bool const on_hash, bool const send_hash) {
memset(&key_pair, 0, sizeof(key_pair));
}
}
END_TRY
END_TRY;

if (error) {
THROW(error);
Expand Down

0 comments on commit a4bf6af

Please sign in to comment.