From a4bf6af47ee8afbd52269772cd7e1338b7979b7f Mon Sep 17 00:00:00 2001 From: Edouard Merle Date: Wed, 13 Apr 2022 16:03:23 +0200 Subject: [PATCH] fix: add missing semi-columns to TRY/CATCH macros --- src/apdu_hmac.c | 2 +- src/apdu_sign.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apdu_hmac.c b/src/apdu_hmac.c index af345309..b8b3b559 100644 --- a/src/apdu_hmac.c +++ b/src/apdu_hmac.c @@ -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, diff --git a/src/apdu_sign.c b/src/apdu_sign.c index c6003095..ac3071a0 100644 --- a/src/apdu_sign.c +++ b/src/apdu_sign.c @@ -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);