Commit 6806d080 authored by Mouse's avatar Mouse

Attempt to address range_bits for OCTET_STRING in APER

parent fc785637
......@@ -269,10 +269,8 @@ OCTET_STRING_encode_aper(const asn_TYPE_descriptor_t *td,
case ASN_OSUBV_ANY:
case ASN_OSUBV_STR:
canonical_unit_bits = unit_bits = 8;
/*
if(cval->flags & APC_CONSTRAINED)
unit_bits = 8;
*/
unit_bits = cval->range_bits;
bpc = OS__BPC_CHAR;
sizeinunits = st->size;
break;
......
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