mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-03-21 19:45:53 +00:00
This is a test commit. Changes will be removed.
This commit is contained in:
parent
e16f009294
commit
0f839ebd08
@ -459,13 +459,18 @@ public class SupplyChainValidationServiceImpl implements SupplyChainValidationSe
|
||||
}
|
||||
}
|
||||
|
||||
LOGGER.error(String.format("CYRUS - # of resources (ie support rims) - %d", resources.size());
|
||||
|
||||
for (SwidResource swidRes : resources) {
|
||||
LOGGER.error(String.format("CYRUS - Looking for hash %s", swidRes.getHashValue()));
|
||||
supportReferenceManifest = SupportReferenceManifest.select(referenceManifestManager)
|
||||
.byHexDecHash(swidRes.getHashValue()).getRIM();
|
||||
if (supportReferenceManifest != null) {
|
||||
// Removed the filename check from this if statement
|
||||
referenceManifestValidator.validateSupportRimHash(
|
||||
supportReferenceManifest.getRimBytes(), swidRes.getHashValue());
|
||||
} else {
|
||||
LOGGER.error("CYRUS - Didn't find support rim by hash");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user