Skip to content

Commit

Permalink
Attempt to address range_bits for OCTET_STRING in APER
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse07410 committed Aug 18, 2024
1 parent fc78563 commit 6806d08
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions skeletons/OCTET_STRING_aper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6806d08

Please sign in to comment.