From 447c817839ad31f6cfc7ebfc90ceb59abb21a87b Mon Sep 17 00:00:00 2001 From: Cyrus <24922493+cyrus-dev@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:57:55 -0500 Subject: [PATCH] Updated the lists for the left over components. --- .../java/hirs/validation/SupplyChainCredentialValidator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HIRS_Utils/src/main/java/hirs/validation/SupplyChainCredentialValidator.java b/HIRS_Utils/src/main/java/hirs/validation/SupplyChainCredentialValidator.java index 0cac1b38..d7302e46 100644 --- a/HIRS_Utils/src/main/java/hirs/validation/SupplyChainCredentialValidator.java +++ b/HIRS_Utils/src/main/java/hirs/validation/SupplyChainCredentialValidator.java @@ -1427,6 +1427,7 @@ public final class SupplyChainCredentialValidator implements CredentialValidator certificateList.add(delta); for (ComponentIdentifier ci : delta.getComponentIdentifiers()) { + LOGGER.error("This is the serial {}", ci.getComponentSerial().toString()); if (!noneSerialValues.contains(ci.getComponentSerial().toString())) { if (ci.isVersion2()) { ciSerial = ci.getComponentSerial().toString(); @@ -1501,6 +1502,7 @@ public final class SupplyChainCredentialValidator implements CredentialValidator } baseCompList.clear(); baseCompList.addAll(chainCiMapping.values()); + baseCompList.addAll(absentSerials); return resultMessage.toString(); }