Commit 2535bd58 authored by Lev Walkin's avatar Lev Walkin

verified OCTET STRING OER operation

parent aa7e94fe
...@@ -37,8 +37,8 @@ asn_TYPE_operation_t asn_OP_OCTET_STRING = { ...@@ -37,8 +37,8 @@ asn_TYPE_operation_t asn_OP_OCTET_STRING = {
0, 0,
0, 0,
#else #else
0, OCTET_STRING_decode_oer,
0, OCTET_STRING_encode_oer,
#endif /* ASN_DISABLE_OER_SUPPORT */ #endif /* ASN_DISABLE_OER_SUPPORT */
#ifdef ASN_DISABLE_PER_SUPPORT #ifdef ASN_DISABLE_PER_SUPPORT
0, 0,
......
...@@ -17,7 +17,7 @@ OCTET_STRING_decode_oer(asn_codec_ctx_t *opt_codec_ctx, ...@@ -17,7 +17,7 @@ OCTET_STRING_decode_oer(asn_codec_ctx_t *opt_codec_ctx,
asn_OCTET_STRING_specifics_t *specs = asn_OCTET_STRING_specifics_t *specs =
td->specifics td->specifics
? (asn_OCTET_STRING_specifics_t *)td->specifics ? (asn_OCTET_STRING_specifics_t *)td->specifics
: (asn_OCTET_STRING_specifics_t *)&asn_DEF_OCTET_STRING.specifics; : (asn_OCTET_STRING_specifics_t *)&asn_SPC_OCTET_STRING_specs;
OCTET_STRING_t *st = (OCTET_STRING_t *)*sptr; OCTET_STRING_t *st = (OCTET_STRING_t *)*sptr;
const asn_oer_constraints_t *cts = const asn_oer_constraints_t *cts =
constraints ? constraints : td->oer_constraints; constraints ? constraints : td->oer_constraints;
...@@ -107,7 +107,7 @@ OCTET_STRING_encode_oer(asn_TYPE_descriptor_t *td, ...@@ -107,7 +107,7 @@ OCTET_STRING_encode_oer(asn_TYPE_descriptor_t *td,
asn_OCTET_STRING_specifics_t *specs = asn_OCTET_STRING_specifics_t *specs =
td->specifics td->specifics
? (asn_OCTET_STRING_specifics_t *)td->specifics ? (asn_OCTET_STRING_specifics_t *)td->specifics
: (asn_OCTET_STRING_specifics_t *)&asn_DEF_OCTET_STRING.specifics; : (asn_OCTET_STRING_specifics_t *)&asn_SPC_OCTET_STRING_specs;
OCTET_STRING_t *st = (OCTET_STRING_t *)sptr; OCTET_STRING_t *st = (OCTET_STRING_t *)sptr;
const asn_oer_constraints_t *cts = const asn_oer_constraints_t *cts =
constraints ? constraints : td->oer_constraints; constraints ? constraints : td->oer_constraints;
......
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