From 59f038ce24abde9dd49484c5b5630922662beb8d Mon Sep 17 00:00:00 2001 From: chubtub <43381989+chubtub@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:31:51 -0400 Subject: [PATCH] Revert changes to FirmwareScvValidator class --- .../persist/validation/FirmwareScvValidator.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/validation/FirmwareScvValidator.java b/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/validation/FirmwareScvValidator.java index 452115d6a..eb4502504 100644 --- a/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/validation/FirmwareScvValidator.java +++ b/HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/validation/FirmwareScvValidator.java @@ -66,10 +66,7 @@ public static AppraisalStatus validateFirmware( // In this case, try to look up the event log associated with the device, then get the base rim associated by event log hash List deviceRims = referenceManifestRepository.findByDeviceName(hostName); for (ReferenceManifest deviceRim : deviceRims) { - if (deviceRim instanceof BaseReferenceManifest && - !deviceRim.isSwidSupplemental() && - !deviceRim.isSwidPatch() && - !deviceRim.isArchived()) { + if (deviceRim instanceof BaseReferenceManifest && !deviceRim.isSwidSupplemental() && !deviceRim.isSwidPatch()) { baseReferenceManifest = (BaseReferenceManifest) deviceRim; }