fix(core): small secbool refactor for bootloader_ci

pull/1515/head
Pavol Rusnak 3 years ago
parent 2dc094bd3e
commit b074404dcf
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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…
Cancel
Save