mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 05:28:22 +00:00
Removed a statement that I'll need to put back in
This commit is contained in:
parent
70ca2ced7b
commit
37850a6c90
@ -12,12 +12,14 @@ import hirs.attestationca.persist.enums.AppraisalStatus;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
import org.bouncycastle.cert.X509AttributeCertificateHolder;
|
||||
|
||||
import java.awt.*;
|
||||
import java.io.IOException;
|
||||
import java.security.KeyStore;
|
||||
import java.security.KeyStoreException;
|
||||
import java.security.cert.CertificateExpiredException;
|
||||
import java.security.cert.CertificateNotYetValidException;
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@ -265,10 +267,6 @@ public class CredentialValidator extends SupplyChainCredentialValidator {
|
||||
return new AppraisalStatus(FAIL, message);
|
||||
}
|
||||
}
|
||||
if (componentInfos.isEmpty()) {
|
||||
message = baseErrorMessage + "a list of device components";
|
||||
return new AppraisalStatus(FAIL, message);
|
||||
}
|
||||
|
||||
// parse out the provided delta and its specific chain.
|
||||
List<ComponentResult> origPcComponents = componentResultRepository
|
||||
|
Loading…
Reference in New Issue
Block a user