Blame SOURCES/0055-Fix-a-broken-tpm-type.patch

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