Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Make dump_dbx work with not-well-known guids. Also now uses {ID GUID}.
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jones <[email protected]>
  • Loading branch information
vathpela committed Oct 9, 2014
1 parent 6c4afe0 commit 246aca3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dbxtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ dump_dbx(uint8_t *buf, size_t len)


char *typestr = NULL;
int rc = efi_guid_to_symbol(&type, &typestr);
int rc = efi_guid_to_id_guid(&type, &typestr);
if (rc < 0)
err(1, "bad type guid");

char *ownerstr;
rc = efi_guid_to_symbol(&owner, &ownerstr);
char *ownerstr = NULL;
rc = efi_guid_to_id_guid(&owner, &ownerstr);
if (rc < 0)
err(1, "bad owner guid");

Expand Down

0 comments on commit 246aca3

Please sign in to comment.