From: Lennart Poettering Date: Tue, 9 Apr 2024 10:39:01 +0000 (+0200) Subject: boot: re-align table X-Git-Tag: v256-rc1~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fea0f0ba03606caa09327bcfc70441ea79ad530;p=thirdparty%2Fsystemd.git boot: re-align table We like our tables aligned. (Also suppres the final two fields, which are all zeroes anyway, to declutter a bit) --- diff --git a/src/boot/efi/secure-boot.c b/src/boot/efi/secure-boot.c index 718c44b2a6d..63f37318f68 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. */