uniform checking

This commit is contained in:
Lev Walkin 2005-03-30 06:03:41 +00:00
parent c10e06cffe
commit 56784c0062
1 changed files with 1 additions and 2 deletions

View File

@ -172,10 +172,9 @@ asn1c_emit_constraint_checking_code(arg_t *arg) {
INDENT(+1);
switch(etype) {
case ASN_CONSTR_SEQUENCE_OF:
OUT("/* SEQUENCE validation code is the same as SET */\n");
case ASN_CONSTR_SET_OF:
OUT("/* Perform validation of the inner elements */\n");
OUT("return SET_OF_constraint(td, sptr, app_errlog, app_key);\n");
OUT("return td->check_constraints(td, sptr, app_errlog, app_key);\n");
break;
default:
OUT("/* Constraint check succeeded */\n");