]> Git Repo - J-u-boot.git/commit
efi_loader: fix BootOrder variable measurement handling
authorMasahisa Kojima <[email protected]>
Tue, 9 Nov 2021 09:44:54 +0000 (18:44 +0900)
committerHeinrich Schuchardt <[email protected]>
Wed, 10 Nov 2021 19:57:54 +0000 (20:57 +0100)
commitc9c1cdbda3deea265838cf6c6bd6a1eb1569e15c
tree2aa2786c5dd95dd0b8f9cc5b59167dfebee7c061
parent6354913def1f61711c2278bd2616c748f21f69da
efi_loader: fix BootOrder variable measurement handling

UEFI specification does not require that BootOrder is defined.
In current implementation, boot variable measurement fails and
returns EFI_NOT_FOUND if BootOrder is not defined.

This commit correcly handles this case, skip the boot variable
measurement if BootOrder is not defined.

Signed-off-by: Masahisa Kojima <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
lib/efi_loader/efi_tcg2.c
This page took 0.034543 seconds and 4 git commands to generate.