aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/NULL.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2017-09-12 22:37:25 -0700
committerLev Walkin <vlm@lionet.info>2017-09-12 22:37:25 -0700
commit0b59763768f455c5da1245c4aee39022e4c824e9 (patch)
tree9d66128ca40a4d7e6da53ca75b44260c3cb0a890 /skeletons/NULL.c
parent6d46bc3da40a14e3eafe9da7a21c707b62b66770 (diff)
incorrect fix fixed
Diffstat (limited to 'skeletons/NULL.c')
-rw-r--r--skeletons/NULL.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/skeletons/NULL.c b/skeletons/NULL.c
index 961f3e6f..f82f5e46 100644
--- a/skeletons/NULL.c
+++ b/skeletons/NULL.c
@@ -153,12 +153,15 @@ asn_enc_rval_t
NULL_encode_oer(asn_TYPE_descriptor_t *td,
const asn_oer_constraints_t *constraints, void *sptr,
asn_app_consume_bytes_f *cb, void *app_key) {
+ asn_enc_rval_t er;
(void)constraints;
(void)cb;
(void)app_key;
- ASN__ENCODE_FAILED;
+ er.encoded = 0; /* Encoding in 0 bytes. */
+
+ ASN__ENCODED_OK(er);
}
#endif /* ASN_DISABLE_OER_SUPPORT */