Commit 2cf625cf authored by Pau Espin Pedrol's avatar Pau Espin Pedrol Committed by Mouse

skeletons/OPEN_TYPE: Fix encoding if ASN_DISABLE_JER_SUPPORT defined

Otherwise the fields end up being misplaced and crash during encoding,
as can be seen in gdb:
"aper_decoder = 0x7ffff7687616 <OPEN_TYPE_encode_aper>, aper_encoder = 0x0"
parent 4bef3913
......@@ -30,6 +30,8 @@ asn_TYPE_operation_t asn_OP_OPEN_TYPE = {
#endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
OPEN_TYPE_encode_jer,
#else
0,
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
#if !defined(ASN_DISABLE_OER_SUPPORT)
OPEN_TYPE_decode_oer,
......
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