mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-20 17:52:47 +00:00
One line change to SupplyChainCredentialValidator to loop fully through truststore.
This commit is contained in:
parent
0f8d41e78f
commit
e86d1efbbf
@ -1405,7 +1405,7 @@ public final class SupplyChainCredentialValidator implements CredentialValidator
|
||||
boolean issuerMatchesSubject = false;
|
||||
boolean signatureMatchesPublicKey = false;
|
||||
|
||||
while (foundRootOfCertChain.isEmpty() && certIterator.hasNext()) {
|
||||
while (certIterator.hasNext()) {
|
||||
trustedCert = certIterator.next();
|
||||
issuerMatchesSubject = issuerMatchesSubjectDN(cert, trustedCert);
|
||||
signatureMatchesPublicKey = signatureMatchesPublicKey(cert, trustedCert);
|
||||
|
Loading…
x
Reference in New Issue
Block a user