Commit ca9847dd authored by Vasil Velichkov's avatar Vasil Velichkov

Add APER support in the asn_decode(...) function

parent 9a831e40
...@@ -464,6 +464,15 @@ asn_decode(const asn_codec_ctx_t *opt_codec_ctx, ...@@ -464,6 +464,15 @@ asn_decode(const asn_codec_ctx_t *opt_codec_ctx,
return uper_decode_complete(opt_codec_ctx, td, sptr, buffer, size); return uper_decode_complete(opt_codec_ctx, td, sptr, buffer, size);
#endif #endif
case ATS_ALIGNED_BASIC_PER:
case ATS_ALIGNED_CANONICAL_PER:
#ifdef ASN_DISABLE_PER_SUPPORT
errno = ENOENT;
ASN__DECODE_FAILED;
#else
return aper_decode_complete(opt_codec_ctx, td, sptr, buffer, size);
#endif
case ATS_BASIC_XER: case ATS_BASIC_XER:
case ATS_CANONICAL_XER: case ATS_CANONICAL_XER:
return xer_decode(opt_codec_ctx, td, sptr, buffer, size); return xer_decode(opt_codec_ctx, td, sptr, buffer, size);
......
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