mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-30 09:49:00 +00:00
[#411] Changed assumption regarding Delta cert components with ADDED status.
This commit is contained in:
parent
cf97b15b13
commit
867833dc9d
@ -655,13 +655,7 @@ public final class SupplyChainCredentialValidator implements CredentialValidator
|
|||||||
.getValue());
|
.getValue());
|
||||||
if (classFound) {
|
if (classFound) {
|
||||||
if (isMatch(ciV2, baseCiV2)) {
|
if (isMatch(ciV2, baseCiV2)) {
|
||||||
if (ciV2.isAdded()) {
|
if (ciV2.isAdded() || ciV2.isModified()) {
|
||||||
// error
|
|
||||||
resultMessage.append("ADDED attempted with prior instance\n");
|
|
||||||
deltaSb.append(String.format("%s;", ci.hashCode()));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
if (ciV2.isModified()) {
|
|
||||||
// since the base list doesn't have this ci
|
// since the base list doesn't have this ci
|
||||||
// just add the delta
|
// just add the delta
|
||||||
baseCompList.add(deltaCi);
|
baseCompList.add(deltaCi);
|
||||||
|
Loading…
Reference in New Issue
Block a user