From 6fea0f0ba03606caa09327bcfc70441ea79ad530 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 9 Apr 2024 12:39:01 +0200 Subject: [PATCH] boot: re-align table We like our tables aligned. (Also suppres the final two fields, which are all zeroes anyway, to declutter a bit) --- src/boot/efi/secure-boot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/boot/efi/secure-boot.c b/src/boot/efi/secure-boot.c index 718c44b2a6d31..63f37318f6868 100644 --- a/src/boot/efi/secure-boot.c +++ b/src/boot/efi/secure-boot.c @@ -128,10 +128,10 @@ EFI_STATUS secure_boot_enroll_at(EFI_FILE *root_dir, const char16_t *path, bool char *buffer; size_t size; } sb_vars[] = { - { u"db", u"db.auth", EFI_IMAGE_SECURITY_DATABASE_GUID, true, NULL, 0 }, - { u"dbx", u"dbx.auth", EFI_IMAGE_SECURITY_DATABASE_GUID, false, NULL, 0 }, - { u"KEK", u"KEK.auth", EFI_GLOBAL_VARIABLE, true, NULL, 0 }, - { u"PK", u"PK.auth", EFI_GLOBAL_VARIABLE, true, NULL, 0 }, + { u"db", u"db.auth", EFI_IMAGE_SECURITY_DATABASE_GUID, true }, + { u"dbx", u"dbx.auth", EFI_IMAGE_SECURITY_DATABASE_GUID, false }, + { u"KEK", u"KEK.auth", EFI_GLOBAL_VARIABLE, true }, + { u"PK", u"PK.auth", EFI_GLOBAL_VARIABLE, true }, }; /* Make sure all keys files exist before we start enrolling them by loading them from the disk first. */