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

fixup! Use strict parsing by default #408

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static boolean getBooleanFromAsn1(ASN1Encodable asn1Value) {
static boolean getBooleanFromAsn1(ASN1Encodable asn1Value, boolean strict) {
if (asn1Value instanceof ASN1Boolean) {
if (strict) {
Utils.getBooleanFromAsn1Strict((ASN1Boolean) asn1Value);
return Utils.getBooleanFromAsn1Strict((ASN1Boolean) asn1Value);
}
return ((ASN1Boolean) asn1Value).isTrue();
} else {
Expand Down