Skip to content

Commit

Permalink
boot: re-align table
Browse files Browse the repository at this point in the history
We like our tables aligned.

(Also suppres the final two fields, which are all zeroes anyway, to
declutter a bit)
  • Loading branch information
poettering authored and yuwata committed Apr 10, 2024
1 parent 3ee27b2 commit 6fea0f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/boot/efi/secure-boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 6fea0f0

Please sign in to comment.