Unverified Commit 5fa129cf authored by Mouse's avatar Mouse Committed by GitHub

Update OCTET_STRING_aper.c

Uncomment processing of APC_CONSTRAINTS (line 75)
parent 940dd5fa
...@@ -72,10 +72,8 @@ OCTET_STRING_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, ...@@ -72,10 +72,8 @@ OCTET_STRING_decode_aper(const asn_codec_ctx_t *opt_codec_ctx,
case ASN_OSUBV_ANY: case ASN_OSUBV_ANY:
case ASN_OSUBV_STR: case ASN_OSUBV_STR:
canonical_unit_bits = unit_bits = 8; canonical_unit_bits = unit_bits = 8;
/*
if(cval->flags & APC_CONSTRAINED) if(cval->flags & APC_CONSTRAINED)
unit_bits = cval->range_bits; unit_bits = cval->range_bits;
*/
bpc = OS__BPC_CHAR; bpc = OS__BPC_CHAR;
break; break;
case ASN_OSUBV_U16: case ASN_OSUBV_U16:
......
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