Skip to content

Commit

Permalink
DSS-2466 : fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandenbroucke committed Jul 2, 2021
1 parent 72a49fc commit 375f5d7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import eu.europa.esig.dss.diagnostic.CertificateWrapper;
import eu.europa.esig.dss.diagnostic.RevocationWrapper;
import eu.europa.esig.dss.diagnostic.TokenProxy;
import eu.europa.esig.dss.enumerations.CertificateStatus;
import eu.europa.esig.dss.enumerations.Context;
import eu.europa.esig.dss.enumerations.Indication;
import eu.europa.esig.dss.enumerations.RevocationReason;
Expand Down Expand Up @@ -244,7 +243,7 @@ protected void initChain() {
// NOTE : HYBRID model is treated as CHAIN for Signing Cert and as SHELL for CAs
if (Model.SHELL.equals(validationModel)
|| (Model.HYBRID.equals(validationModel) && SubContext.CA_CERTIFICATE.equals(subContext))
|| RevocationReason.KEY_COMPROMISE.equals(revocationReason) || CertificateStatus.UNKNOWN.equals(revocationReason)) {
|| RevocationReason.KEY_COMPROMISE.equals(revocationReason) || RevocationReason.UNSPECIFIED.equals(revocationReason)) {
controlTime = latestCompliantRevocation.getRevocationDate();
}

Expand Down

0 comments on commit 375f5d7

Please sign in to comment.