34668cd0d4
Related: rhbz#1915194 Signed-off-by: Peter Jones <pjones@redhat.com>
28 lines
764 B
Diff
28 lines
764 B
Diff
From a7f9911b776f3cdc12e42bf5990ddef0b08d3701 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Thu, 23 Jul 2020 20:35:56 -0400
|
|
Subject: [PATCH 55/62] Fix a broken tpm type
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
Upstream: pr#212
|
|
---
|
|
tpm.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tpm.c b/tpm.c
|
|
index 22ad148b35a..03cf3a1f60e 100644
|
|
--- a/tpm.c
|
|
+++ b/tpm.c
|
|
@@ -239,7 +239,7 @@ EFI_STATUS tpm_log_pe(EFI_PHYSICAL_ADDRESS buf, UINTN size,
|
|
efi_status = tpm_log_event_raw(buf, size, pcr, (CHAR8 *)ImageLoad,
|
|
sizeof(*ImageLoad) + path_size,
|
|
EV_EFI_BOOT_SERVICES_APPLICATION,
|
|
- sha1hash);
|
|
+ (CHAR8 *)sha1hash);
|
|
FreePool(ImageLoad);
|
|
|
|
return efi_status;
|
|
--
|
|
2.26.2
|
|
|