From a053bbc669a09655f2d8f26c93f510feebd6eee8 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 24 Aug 2019 10:26:01 +0200 Subject: [PATCH] Do not verify version for the hacker edition --- targets/stm32l432/bootloader/bootloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/stm32l432/bootloader/bootloader.c b/targets/stm32l432/bootloader/bootloader.c index 1405012..325572e 100644 --- a/targets/stm32l432/bootloader/bootloader.c +++ b/targets/stm32l432/bootloader/bootloader.c @@ -224,13 +224,13 @@ int bootloader_bridge(int klen, uint8_t * keyh) printf1(TAG_BOOT, "Signature invalid\r\n"); return CTAP2_ERR_OPERATION_DENIED; } -#endif if (!is_firmware_version_newer_or_equal()){ printf1(TAG_BOOT, "Firmware older - update not allowed.\r\n"); printf1(TAG_BOOT, "Rebooting...\r\n"); REBOOT_FLAG = 1; return CTAP2_ERR_OPERATION_DENIED; } +#endif // Set the application validated, and mark for reboot. authorize_application();