diff options
| author | Peter Jones <pjones@redhat.com> | 2021-02-18 16:47:47 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-22 11:22:36 -0500 |
| commit | 89ac875e161e5f592f33bf61cb0a2bc58c62951c (patch) | |
| tree | c4af3c77708379e285ea3a7f3e7d2f9b69956e16 /tpm.c | |
| parent | b9ca0895a0679d4d3223685d37f0600b82eae49c (diff) | |
| download | efi-boot-shim-89ac875e161e5f592f33bf61cb0a2bc58c62951c.tar.gz efi-boot-shim-89ac875e161e5f592f33bf61cb0a2bc58c62951c.zip | |
tpm: minor cleanup: use EV_IPL not 0xd
This does two things:
- consolidates all our TPM event type #defines to one place
- uses EV_IPL instead of hard-coding 0xd
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'tpm.c')
| -rw-r--r-- | tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -209,7 +209,7 @@ EFI_STATUS tpm_log_event(EFI_PHYSICAL_ADDRESS buf, UINTN size, UINT8 pcr, const CHAR8 *description) { return tpm_log_event_raw(buf, size, pcr, description, - strlen(description) + 1, 0xd, NULL); + strlen(description) + 1, EV_IPL, NULL); } EFI_STATUS tpm_log_pe(EFI_PHYSICAL_ADDRESS buf, UINTN size, |
