Commit 590620a1 authored by Raphael Riebl's avatar Raphael Riebl Committed by Mouse

INTEGER_decode_uper: fix indentation

parent deedbc37
...@@ -61,20 +61,20 @@ INTEGER_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, ...@@ -61,20 +61,20 @@ INTEGER_decode_uper(const asn_codec_ctx_t *opt_codec_ctx,
if(specs && specs->field_unsigned) { if(specs && specs->field_unsigned) {
uintmax_t uvalue = 0; uintmax_t uvalue = 0;
if(uper_get_constrained_whole_number(pd, if(uper_get_constrained_whole_number(pd,
&uvalue, ct->range_bits)) &uvalue, ct->range_bits))
ASN__DECODE_STARVED; ASN__DECODE_STARVED;
ASN_DEBUG("Got value %lu + low %ld", ASN_DEBUG("Got value %lu + low %ld",
uvalue, ct->lower_bound); uvalue, ct->lower_bound);
uvalue += ct->lower_bound; uvalue += ct->lower_bound;
if(asn_ulong2INTEGER(st, uvalue)) if(asn_ulong2INTEGER(st, uvalue))
ASN__DECODE_FAILED; ASN__DECODE_FAILED;
} else { } else {
uintmax_t uvalue = 0; uintmax_t uvalue = 0;
intmax_t svalue; intmax_t svalue;
if(uper_get_constrained_whole_number(pd, if(uper_get_constrained_whole_number(pd,
&uvalue, ct->range_bits)) &uvalue, ct->range_bits))
ASN__DECODE_STARVED; ASN__DECODE_STARVED;
ASN_DEBUG("Got value %lu + low %ld", ASN_DEBUG("Got value %lu + low %ld",
uvalue, ct->lower_bound); uvalue, ct->lower_bound);
if(per_imax_range_unrebase(uvalue, ct->lower_bound, if(per_imax_range_unrebase(uvalue, ct->lower_bound,
ct->upper_bound, &svalue) ct->upper_bound, &svalue)
......
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