diff options
-rw-r--r-- | skeletons/NULL.c | 5 |
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 */ |