Skip to content

Commit

Permalink
fix issue vlm#379
Browse files Browse the repository at this point in the history
  • Loading branch information
robstradling committed May 15, 2020
1 parent fdb68ce commit e404a34
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");

This comment has been minimized.

Copy link
@mouse07410

mouse07410 Jun 28, 2020

@velichkov if you have time, could you please take a look at why this change fails the CI in my fork, though CI on this repo seems to pass?

break;
default:
OUT("/* Constraint check succeeded */\n");
Expand Down

0 comments on commit e404a34

Please sign in to comment.