small fix to output

This commit is contained in:
iadgovuser58 2024-04-26 12:16:05 -04:00 committed by chubtub
parent d813e3b7fd
commit 0685dd78d3
2 changed files with 2 additions and 1 deletions

View File

@ -544,6 +544,7 @@ public class TpmPcrEvent {
case EvConstants.EV_EFI_SPDM_FIRMWARE_BLOB: case EvConstants.EV_EFI_SPDM_FIRMWARE_BLOB:
EvEfiSpdmFirmwareBlob efiSpdmFwBlob = new EvEfiSpdmFirmwareBlob(content); EvEfiSpdmFirmwareBlob efiSpdmFwBlob = new EvEfiSpdmFirmwareBlob(content);
description += "Event Content:\n" + efiSpdmFwBlob.toString(); description += "Event Content:\n" + efiSpdmFwBlob.toString();
break;
default: default:
description += " Unknown Event found" + "\n"; description += " Unknown Event found" + "\n";
} }

View File

@ -52,7 +52,7 @@ public abstract class DeviceSecurityEventDataDeviceContext {
public String deviceContextCommonInfoToString() { public String deviceContextCommonInfoToString() {
String dSEDdeviceContextCommonInfo = ""; String dSEDdeviceContextCommonInfo = "";
dSEDdeviceContextCommonInfo += "\n DeviceSecurityEventData - Device Info"; dSEDdeviceContextCommonInfo += "\n DeviceSecurityEventData Device Info:";
dSEDdeviceContextCommonInfo += "\n Device Structure Version = " + version; dSEDdeviceContextCommonInfo += "\n Device Structure Version = " + version;
return dSEDdeviceContextCommonInfo; return dSEDdeviceContextCommonInfo;