Skip to content

Commit

Permalink
fix issue vlm#379
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Stradling committed May 15, 2020
1 parent fdb68ce commit 0322b8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libasn1compiler/asn1c_constraint.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,12 @@ asn1c_emit_constraint_checking_code(arg_t *arg) {
INDENT(+1);
switch(etype) {
case ASN_CONSTR_SEQUENCE_OF:
OUT("/* Perform validation of the inner elements */\n");
OUT("return SEQUENCE_OF_constraint(td, sptr, ctfailcb, app_key);\n");
break;
case ASN_CONSTR_SET_OF:
OUT("/* Perform validation of the inner elements */\n");
OUT("return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);\n");
OUT("return SET_OF_constraint(td, sptr, ctfailcb, app_key);\n");
break;
default:
OUT("/* Constraint check succeeded */\n");
Expand Down

0 comments on commit 0322b8a

Please sign in to comment.