Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException in org.bouncycastle.asn1.ocsp.CertStatus when the OCSP response has unknown status (2) #155

Closed
jhyoty opened this issue Aug 22, 2016 · 1 comment

Comments

@jhyoty
Copy link

jhyoty commented Aug 22, 2016

Applies to version 1.55, 1.54 works. If the OCSP response status is "unknown" (2), creating a CertStatus from a ASN1TaggedObject fails with an IllegalArgumentException: "Unknown tag encountered: 2".

It seems that there is a bug in version 1.55 CertStatus.java around line 56: a missing break statement causes the case to fall through.

@bcgit
Copy link
Collaborator

bcgit commented Aug 26, 2016

Thanks, now fixed.

@bcgit bcgit closed this as completed Aug 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant