From 80334ed5dbb42b4c007cf845507d6a0f2975e562 Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Thu, 6 Jul 2017 07:28:21 -0700 Subject: guard PER references --- skeletons/NULL.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'skeletons/NULL.c') diff --git a/skeletons/NULL.c b/skeletons/NULL.c index 62bc91e0..fb21c75d 100644 --- a/skeletons/NULL.c +++ b/skeletons/NULL.c @@ -23,8 +23,13 @@ asn_TYPE_descriptor_t asn_DEF_NULL = { NULL_encode_der, /* Special handling of DER encoding */ NULL_decode_xer, NULL_encode_xer, +#ifdef ASN_DISABLE_PER_SUPPORT + 0, + 0, +#else NULL_decode_uper, /* Unaligned PER decoder */ NULL_encode_uper, /* Unaligned PER encoder */ +#endif /* ASN_DISABLE_PER_SUPPORT */ 0, /* Use generic outmost tag fetcher */ asn_DEF_NULL_tags, sizeof(asn_DEF_NULL_tags) / sizeof(asn_DEF_NULL_tags[0]), -- cgit v1.2.3