Browse Source

X.509: remove possible code fragility: enumeration values not handled

Signed-off-by: Antonio Alecrim Jr <antonio.alecrim@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Antonio Alecrim Jr 12 years ago
parent
commit
eb8948a037
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/asn1_compiler.c

+ 2 - 0
scripts/asn1_compiler.c

@@ -1353,6 +1353,8 @@ static void render_out_of_line_list(FILE *out)
 			render_opcode(out, "ASN1_OP_END_SET_OF%s,\n", act);
 			render_opcode(out, "_jump_target(%u),\n", entry);
 			break;
+		default:
+			break;
 		}
 		if (e->action)
 			render_opcode(out, "_action(ACT_%s),\n",