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:
Jiewen Yao 2020-07-05 19:31:26 +08:00 committed by mergify[bot]
parent bceaf6952a
commit f45e3a4afa
1 changed files with 1 additions and 0 deletions

View File

@ -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;