Skip to content

Commit

Permalink
fixup return of strict boolean parsing of ASN1Encodable
Browse files Browse the repository at this point in the history
  • Loading branch information
quh4gko8 committed Dec 29, 2023
1 parent 3b730a6 commit dc70bb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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

0 comments on commit dc70bb1

Please sign in to comment.