mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 23:40:58 +00:00
fix(core): small secbool refactor for bootloader_ci
This commit is contained in:
parent
2dc094bd3e
commit
b074404dcf
@ -228,11 +228,10 @@ int main(void) {
|
||||
|
||||
vendor_header vhdr;
|
||||
image_header hdr;
|
||||
secbool firmware_present;
|
||||
|
||||
// detect whether the devices contains a valid firmware
|
||||
|
||||
firmware_present =
|
||||
secbool firmware_present =
|
||||
load_vendor_header_keys((const uint8_t *)FIRMWARE_START, &vhdr);
|
||||
if (sectrue == firmware_present) {
|
||||
firmware_present = check_vendor_keys_lock(&vhdr);
|
||||
|
Loading…
Reference in New Issue
Block a user