mirror of https://github.com/acidanthera/audk.git
SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2840 Cc: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
parent
bceaf6952a
commit
f45e3a4afa
|
@ -633,6 +633,7 @@ MeasureFvImage (
|
|||
}
|
||||
FvBlob2.BlobBase = FvBase;
|
||||
FvBlob2.BlobLength = FvLength;
|
||||
TcgEventHdr.PCRIndex = 0;
|
||||
TcgEventHdr.EventType = EV_EFI_PLATFORM_FIRMWARE_BLOB2;
|
||||
TcgEventHdr.EventSize = sizeof (FvBlob2);
|
||||
EventData = &FvBlob2;
|
||||
|
|
Loading…
Reference in New Issue