Skip to content

Commit

Permalink
netboot: process revocations.efi as revocations not shim_certificate
Browse files Browse the repository at this point in the history
Bugfix: In the netboot case revocations.efi files were read, but
processed as shim_certificate.efi files which is simply wrong.

Signed-off-by: Jan Setje-Eilers <Jan.SetjeEilers@oracle.com>
  • Loading branch information
jsetje authored and vathpela committed Feb 18, 2025
1 parent 18adcf1 commit 4ce2dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -1593,11 +1593,11 @@ load_unbundled_trust(EFI_HANDLE image_handle)
efi_status);
/*
* Network boot cases do not support reading a directory. Try
* to read revocations.efi to pull in any unbundled SBATLevel
* to read revocations to pull in any unbundled SBATLevel
* updates unconditionally in those cases. This may produce
* console noise when the file is not present.
*/
load_cert_file(image_handle, REVOCATIONFILE, PathName);
load_revocations_file(image_handle, REVOCATIONFILE, PathName);
goto done;
}

Expand Down

0 comments on commit 4ce2dd3

Please sign in to comment.