diff --git a/skeletons/OCTET_STRING_aper.c b/skeletons/OCTET_STRING_aper.c index 100ff33c6..377f71a22 100644 --- a/skeletons/OCTET_STRING_aper.c +++ b/skeletons/OCTET_STRING_aper.c @@ -282,6 +282,7 @@ OCTET_STRING_encode_aper(const asn_TYPE_descriptor_t *td, switch(specs->subvariant) { case ASN_OSUBV_ANY: + case ASN_OSUBV_STR: canonical_unit_bits = unit_bits = 8; if(cval->flags & APC_CONSTRAINED) { /* follow power of 2 rule */