diff options
-rw-r--r-- | IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/FspMeasurementLib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/FspMeasurementLib.c b/IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/FspMeasurementLib.c index 2c017a4..2282776 100644 --- a/IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/FspMeasurementLib.c +++ b/IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/FspMeasurementLib.c @@ -197,6 +197,10 @@ MeasureFspFirmwareBlobWithCfg ( (UINTN)sizeof (DigestList),
EDKII_TCG_PRE_HASH_LOG_ONLY
);
+ if (EFI_ERROR (Status)) {
+ DEBUG ((DEBUG_ERROR, "TpmMeasureAndLogDataWithFlags failed - %r\n", Status));
+ return Status;
+ }
Status = TpmMeasureAndLogData (
1,
|