Skip to content

Commit 85ed722

Browse files
michalek-norlubos
authored andcommitted
[nrf noup] boot: bootutil: key revocation fix
adds missing valid return state in key revocation procedure. nrf-squash! [nrf noup] bootutil: key revocation Signed-off-by: Mateusz Michalek <[email protected]>
1 parent ec52537 commit 85ed722

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boot/bootutil/src/loader.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3000,7 +3000,8 @@ context_boot_go(struct boot_loader_state *state, struct boot_rsp *rsp)
30003000
fih_rc = FIH_SUCCESS;
30013001
#if defined(CONFIG_BOOT_KEYS_REVOCATION)
30023002
rc = revoke();
3003-
if (rc != BOOT_KEY_REVOKE_OK) {
3003+
if (rc != BOOT_KEY_REVOKE_OK &&
3004+
rc != BOOT_KEY_REVOKE_NOT_READY) {
30043005
FIH_SET(fih_rc, FIH_FAILURE);
30053006
}
30063007
#endif /* CONFIG_BOOT_KEYS_REVOCATION */

0 commit comments

Comments
 (0)