SecurityPkg/Tcd2Dxe: Fix UefiImage initialization

This commit is contained in:
Marvin Häuser 2023-05-08 12:32:20 +02:00 committed by MikhailKrichanov
parent 8aac54287a
commit 1e673c4935

View File

@ -84,7 +84,7 @@ MeasureUefiImageAndExtend (
}
// FIXME: This is just an ugly wrapper, the types should match (UINTN <-> VOID *), fix the libs
UefiImageHashImageDefault (NULL, HashHandle, HashUpdate);
UefiImageHashImageDefault (&ImageContext, HashHandle, HashUpdate);
if (EFI_ERROR (Status)) {
return Status;
}