Skip to content

Commit 88f32e6

Browse files
metsmamrts
authored andcommitted
Update src/WebEid.Security/Validator/CertValidators/SubjectCertificateNotRevokedValidator.cs
1 parent 5a62c5f commit 88f32e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WebEid.Security/Validator/CertValidators/SubjectCertificateNotRevokedValidator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ private void VerifyOcspResponse(BasicOcspResp basicResponse,
134134
if (responseCertificates.Length < 1)
135135
{
136136
throw new UserCertificateOcspCheckFailedException("OCSP response must contain the responder certificate, but none was provided");
137+
}
137138
// The first certificate is the responder certificate. Any subsequent certificates, if provided, represent the
138139
// certificate chain, which we already possess via the configured trusted CA certificates.
139140
// Thus, the chain doesn't require validation, only the responder certificate does.

0 commit comments

Comments
 (0)