asn1: Add missing cases for ENUMERATED

This commit is contained in:
Nicolas Williams
2021-03-06 15:13:53 -06:00
parent 4010ffa96e
commit 3f206d56fb
2 changed files with 2 additions and 1 deletions

View File

@@ -695,7 +695,7 @@ define_asn1 (int level, Type *t)
case TOctetString: case TOctetString:
fprintf (headerfile, "OCTET STRING"); fprintf (headerfile, "OCTET STRING");
break; break;
case TEnumerated : case TEnumerated:
case TBitString: { case TBitString: {
Member *m; Member *m;

View File

@@ -921,6 +921,7 @@ template_members(struct templatehead *temp,
} }
break; break;
case TEnumerated:
case TInteger: { case TInteger: {
char *itype = NULL; char *itype = NULL;