Skip to content

Commit e2fc120

Browse files
committed
Revert changes to FirmwareScvValidator class
1 parent 43dad85 commit e2fc120

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

HIRS_AttestationCA/src/main/java/hirs/attestationca/persist/validation/FirmwareScvValidator.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ public static AppraisalStatus validateFirmware(
6666
// In this case, try to look up the event log associated with the device, then get the base rim associated by event log hash
6767
List<ReferenceManifest> deviceRims = referenceManifestRepository.findByDeviceName(hostName);
6868
for (ReferenceManifest deviceRim : deviceRims) {
69-
if (deviceRim instanceof BaseReferenceManifest &&
70-
!deviceRim.isSwidSupplemental() &&
71-
!deviceRim.isSwidPatch() &&
72-
!deviceRim.isArchived()) {
69+
if (deviceRim instanceof BaseReferenceManifest && !deviceRim.isSwidSupplemental() && !deviceRim.isSwidPatch()) {
7370
baseReferenceManifest = (BaseReferenceManifest) deviceRim;
7471
}
7572

0 commit comments

Comments
 (0)