Skip to content

Commit

Permalink
Fix vlm#379
Browse files Browse the repository at this point in the history
  • Loading branch information
robstradling committed Jul 1, 2020
1 parent dbd0ed0 commit a288399
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libasn1compiler/asn1c_constraint.c
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 a288399

Please sign in to comment.