Don't try and parse boolean type.
Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit e58c4d3cdde7a0a01df2884bfeec31a2b07be22d)
This commit is contained in:
parent
f141376ae2
commit
a0ba92ccde
@ -313,9 +313,9 @@ int MAIN(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
typ = ASN1_TYPE_get(at);
|
typ = ASN1_TYPE_get(at);
|
||||||
if ((typ == V_ASN1_OBJECT)
|
if ((typ == V_ASN1_OBJECT)
|
||||||
|
|| (typ == V_ASN1_BOOLEAN)
|
||||||
|| (typ == V_ASN1_NULL)) {
|
|| (typ == V_ASN1_NULL)) {
|
||||||
BIO_printf(bio_err, "Can't parse %s type\n",
|
BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ));
|
||||||
typ == V_ASN1_NULL ? "NULL" : "OBJECT");
|
|
||||||
ERR_print_errors(bio_err);
|
ERR_print_errors(bio_err);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user