Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao committed Aug 27, 2024
1 parent 640b3bb commit 6e816b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifier/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ func revocationFinalResult(certResults []*revocationresult.CertRevocationResult,
if len(certResult.ServerResults) > 0 && certResult.ServerResults[0].Error != nil {
logger.Debugf("OCSP Error for certificate #%d in chain with subject %v for server %q: %v", (i + 1), cert.Subject.String(), certResult.ServerResults[0].Server, certResult.ServerResults[0].Error)
}
if len(certResult.ServerResults) > 0 && len(certResult.CRLResults) > 0 {
if len(certResult.ServerResults) > 0 && certResult.ServerResults[0].Error != nil && len(certResult.CRLResults) > 0 {
logger.Warnf("OCSP check failed with unknown error and fallback to CRL check for certificate #%d in chain with subject %v", (i + 1), cert.Subject.String())
}
if len(certResult.CRLResults) > 0 && certResult.CRLResults[0].Error != nil {
Expand Down

0 comments on commit 6e816b5

Please sign in to comment.