From f7704eb31b79f022add6ebaa65b3da04e2d46870 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Thu, 5 Sep 2024 18:51:22 +0200 Subject: [PATCH] minor fixes --- src/pkcs11_store.c | 3 ++- tools/unit-tests/unit-pkcs11_store.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkcs11_store.c b/src/pkcs11_store.c index d03ffaea7..e8bd63bb7 100644 --- a/src/pkcs11_store.c +++ b/src/pkcs11_store.c @@ -200,7 +200,8 @@ static void restore_backup(uint32_t offset) hal_flash_lock(); } -static void check_vault(void) { +static void check_vault(void) +{ uint32_t *magic = (uint32_t *)vault_base; uint32_t total_vault_size = KEYVAULT_MAX_ITEMS * KEYVAULT_OBJ_SIZE; diff --git a/tools/unit-tests/unit-pkcs11_store.c b/tools/unit-tests/unit-pkcs11_store.c index 3e4362ee7..08211c2d3 100644 --- a/tools/unit-tests/unit-pkcs11_store.c +++ b/tools/unit-tests/unit-pkcs11_store.c @@ -39,7 +39,6 @@ #if defined(ENCRYPT_WITH_CHACHA) #define HAVE_CHACHA #endif -//#define WC_NO_HARDEN #define ECC_TIMING_RESISTANT #define WOLFSSL_USER_SETTINGS