From 63e77a9b36fd971cf2a0884b1737db6054d9d7fe Mon Sep 17 00:00:00 2001 From: iadgovuser58 <124906646+iadgovuser58@users.noreply.github.com> Date: Fri, 21 Jun 2024 07:52:22 -0400 Subject: [PATCH] clean up commented out sections --- .../events/EvEfiSpdmDeviceSecurityEvent.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDeviceSecurityEvent.java b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDeviceSecurityEvent.java index 33b65615..bb395337 100644 --- a/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDeviceSecurityEvent.java +++ b/HIRS_Utils/src/main/java/hirs/utils/tpm/eventlog/events/EvEfiSpdmDeviceSecurityEvent.java @@ -35,10 +35,6 @@ public class EvEfiSpdmDeviceSecurityEvent { * Signature (text) data. */ private String signature = ""; -// /** -// * True if the event is a DEVICE_SECURITY_EVENT_DATA or ..DATA2. -// */ -// private boolean bSpdmDeviceSecurityEventData = false; /** * Human readable description of the data within this DEVICE_SECURITY_EVENT_DATA/..DATA2 event. */ @@ -58,7 +54,6 @@ public class EvEfiSpdmDeviceSecurityEvent { signature = signature.replaceAll("[^\\P{C}\t\r\n]", ""); // remove null characters if (signature.contains("SPDM Device Sec")) { // implies Device Security event -// bSpdmDeviceSecurityEventData = true; spdmInfo = " Signature = SPDM Device Sec"; @@ -80,34 +75,16 @@ public class EvEfiSpdmDeviceSecurityEvent { } } else { - spdmInfo = " Signature = Undetermined value: " + signature; } } -// /** -// * Determines if this event is a DeviceSecurityEventData. -// * -// * @return true of the event is a DeviceSecurityEventData. -// */ -// public boolean isSpdmDeviceSecurityEventData() { -// return bSpdmDeviceSecurityEventData; -// } - /** * Returns a description of this event. * * @return Human readable description of this event. */ public String toString() { - -// spdmInfo = " Signature = SPDM Device Sec" + spdmInfo; -// if (bSpdmDeviceSecurityEventData) { -// spdmInfo = " Signature = SPDM Device Sec" + spdmInfo; -// } else { -// spdmInfo = "EV_EFI_SPDM_FIRMWARE_BLOB event named " + signature -// + " encountered but support for processing it has not been added to this application.\n"; -// } return spdmInfo; } }