diff options
author | Lev Walkin <vlm@lionet.info> | 2017-07-06 07:28:21 -0700 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2017-07-06 07:28:21 -0700 |
commit | 80334ed5dbb42b4c007cf845507d6a0f2975e562 (patch) | |
tree | 288e8a9a04cf3ea5a55838f9f5e23cfcaffa9ac7 /skeletons/NULL.c | |
parent | 38b3e23d9de8209b20ecfed875791549b889f458 (diff) |
guard PER references
Diffstat (limited to 'skeletons/NULL.c')
-rw-r--r-- | skeletons/NULL.c | 5 |
1 files changed, 5 insertions, 0 deletions
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]), |