From 0685dd78d3c7d648ee429490c0afe2ff58debadf Mon Sep 17 00:00:00 2001 From: iadgovuser58 <124906646+iadgovuser58@users.noreply.github.com> Date: Fri, 26 Apr 2024 12:16:05 -0400 Subject: [PATCH] small fix to output --- .../src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java | 1 + .../eventlog/events/DeviceSecurityEventDataDeviceContext.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java index c6027fbf..66d2f2df 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java +++ b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/TpmPcrEvent.java @@ -544,6 +544,7 @@ public class TpmPcrEvent { case EvConstants.EV_EFI_SPDM_FIRMWARE_BLOB: EvEfiSpdmFirmwareBlob efiSpdmFwBlob = new EvEfiSpdmFirmwareBlob(content); description += "Event Content:\n" + efiSpdmFwBlob.toString(); + break; default: description += " Unknown Event found" + "\n"; } diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/DeviceSecurityEventDataDeviceContext.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/DeviceSecurityEventDataDeviceContext.java index 6520fd2d..ce1f918e 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/DeviceSecurityEventDataDeviceContext.java +++ b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/DeviceSecurityEventDataDeviceContext.java @@ -52,7 +52,7 @@ public abstract class DeviceSecurityEventDataDeviceContext { public String deviceContextCommonInfoToString() { String dSEDdeviceContextCommonInfo = ""; - dSEDdeviceContextCommonInfo += "\n DeviceSecurityEventData - Device Info"; + dSEDdeviceContextCommonInfo += "\n DeviceSecurityEventData Device Info:"; dSEDdeviceContextCommonInfo += "\n Device Structure Version = " + version; return dSEDdeviceContextCommonInfo;