summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2020-07-05 19:31:26 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-07-11 03:57:26 +0000
commitf45e3a4afa65a45ea1a956a7c5e7410ff40190d1 (patch)
tree7e325a53df80ddfc2b1874048738de2dd75b902a /SecurityPkg
parentbceaf6952aaf462b4f6dee2b2cd7fea43b034b56 (diff)
downloadedk2-f45e3a4afa65a45ea1a956a7c5e7410ff40190d1.tar.gz
edk2-f45e3a4afa65a45ea1a956a7c5e7410ff40190d1.tar.bz2
edk2-f45e3a4afa65a45ea1a956a7c5e7410ff40190d1.zip
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>
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
index 4852d86906..19b8e4b318 100644
--- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
+++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
@@ -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;