mirror of https://gerrit.osmocom.org/asn1c
uniform checking
This commit is contained in:
parent
c10e06cffe
commit
56784c0062
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue