mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-03-22 12:05:59 +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) {
|
for (SwidResource swidRes : resources) {
|
||||||
|
LOGGER.error(String.format("CYRUS - Looking for hash %s", swidRes.getHashValue()));
|
||||||
supportReferenceManifest = SupportReferenceManifest.select(referenceManifestManager)
|
supportReferenceManifest = SupportReferenceManifest.select(referenceManifestManager)
|
||||||
.byHexDecHash(swidRes.getHashValue()).getRIM();
|
.byHexDecHash(swidRes.getHashValue()).getRIM();
|
||||||
if (supportReferenceManifest != null) {
|
if (supportReferenceManifest != null) {
|
||||||
// Removed the filename check from this if statement
|
// Removed the filename check from this if statement
|
||||||
referenceManifestValidator.validateSupportRimHash(
|
referenceManifestValidator.validateSupportRimHash(
|
||||||
supportReferenceManifest.getRimBytes(), swidRes.getHashValue());
|
supportReferenceManifest.getRimBytes(), swidRes.getHashValue());
|
||||||
|
} else {
|
||||||
|
LOGGER.error("CYRUS - Didn't find support rim by hash");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user