Commit b2bed820 authored by Lev Walkin's avatar Lev Walkin

*** empty log message ***

parent 8394b05a
...@@ -241,12 +241,13 @@ NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx, ...@@ -241,12 +241,13 @@ NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
memset(&tmpint, 0, sizeof tmpint); memset(&tmpint, 0, sizeof tmpint);
rval = INTEGER_decode_uper(opt_codec_ctx, td, constraints, rval = INTEGER_decode_uper(opt_codec_ctx, td, constraints,
&tmpintptr, pd); &tmpintptr, pd);
if(rval.code == RC_OK) if(rval.code == RC_OK) {
if(asn_INTEGER2long(&tmpint, native)) if(asn_INTEGER2long(&tmpint, native))
rval.code = RC_FAIL; rval.code = RC_FAIL;
else else
ASN_DEBUG("NativeInteger %s got value %ld", ASN_DEBUG("NativeInteger %s got value %ld",
td->name, *native); td->name, *native);
}
asn_DEF_INTEGER.free_struct(&asn_DEF_INTEGER, &tmpint, 1); asn_DEF_INTEGER.free_struct(&asn_DEF_INTEGER, &tmpint, 1);
return rval; return rval;
......
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