sync/gen_codec.ysl2
branchsync
changeset 2844 6fce34991f7d
parent 2841 3b56e21206cd
child 2875 8e3169c2952a
     1.1 --- a/sync/gen_codec.ysl2	Mon Aug 13 16:34:36 2018 +0200
     1.2 +++ b/sync/gen_codec.ysl2	Mon Aug 13 16:45:23 2018 +0200
     1.3 @@ -119,7 +119,7 @@
     1.4              *msg = NULL;
     1.5              uper_decode_complete(NULL, &asn_DEF_«@name», (void **) &msg, data, size);
     1.6              if (!msg)
     1.7 -                return PEP_SYNC_ILLEGAL_MESSAGE;
     1.8 +                return PEP_«yml:ucase(@name)»_ILLEGAL_MESSAGE;
     1.9  
    1.10              return PEP_STATUS_OK;
    1.11          }
    1.12 @@ -210,7 +210,7 @@
    1.13              asn_dec_rval_t dr = xer_decode(NULL, &asn_DEF_«@name», (void **) &msg,
    1.14                      (const void *) text, strlen(text));
    1.15              if (dr.code != RC_OK) {
    1.16 -                status = PEP_SYNC_ILLEGAL_MESSAGE;
    1.17 +                status = PEP_«yml:ucase(@name)»_ILLEGAL_MESSAGE;
    1.18                  goto the_end;
    1.19              }
    1.20