Commit 56784c00 authored by Lev Walkin's avatar Lev Walkin

uniform checking

parent c10e06cf
...@@ -172,10 +172,9 @@ asn1c_emit_constraint_checking_code(arg_t *arg) { ...@@ -172,10 +172,9 @@ asn1c_emit_constraint_checking_code(arg_t *arg) {
INDENT(+1); INDENT(+1);
switch(etype) { switch(etype) {
case ASN_CONSTR_SEQUENCE_OF: case ASN_CONSTR_SEQUENCE_OF:
OUT("/* SEQUENCE validation code is the same as SET */\n");
case ASN_CONSTR_SET_OF: case ASN_CONSTR_SET_OF:
OUT("/* Perform validation of the inner elements */\n"); 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; break;
default: default:
OUT("/* Constraint check succeeded */\n"); OUT("/* Constraint check succeeded */\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment