Do not verify version for the hacker edition

This commit is contained in:
Szczepan Zalega 2019-08-24 10:26:01 +02:00
parent 3621f2ed4f
commit a053bbc669
No known key found for this signature in database
GPG Key ID: D9BAE35991DE5B22

View File

@ -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();