asn1: TRUE is 1, not 0

This commit is contained in:
Nicolas Williams
2020-12-17 11:57:49 -06:00
parent 01fb86c0a6
commit 7d5c309eee

View File

@@ -925,7 +925,7 @@ BooleanValue : kw_TRUE
{
$$ = emalloc(sizeof(*$$));
$$->type = booleanvalue;
$$->u.booleanvalue = 0;
$$->u.booleanvalue = 1;
}
| kw_FALSE
{