summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Setje-Eilers <jan.setjeeilers@oracle.com>2024-08-16 15:21:52 -0700
committerPeter Jones <pjones@redhat.com>2025-02-18 10:21:19 -0500
commit3c3295dd581d000c4f1382811b318bda50218fcc (patch)
tree5ed10a3f1d0c0c1f227c0ac19bb02350243ec6d4
parent2b49dc13aed3723c7c841c2788217ff7b0e821df (diff)
downloadefi-boot-shim-3c3295dd581d000c4f1382811b318bda50218fcc.tar.gz
efi-boot-shim-3c3295dd581d000c4f1382811b318bda50218fcc.zip
netboot: process revocations.efi as revocations not shim_certificate
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>
-rw-r--r--shim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shim.c b/shim.c
index d040992d..cf30b331 100644
--- a/shim.c
+++ b/shim.c
@@ -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;
}