diff options
author | Lev Walkin <vlm@lionet.info> | 2006-02-26 05:08:41 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-02-26 05:08:41 +0000 |
commit | 990e22099f3bb2575ecf6da37bae5e7a3ca560d9 (patch) | |
tree | 11bf43da07f6950e971ca62db144a60f741a81c8 /skeletons/constr_SET_OF.c | |
parent | 857d11b2479f5ab64fe7c110c6fb77b20df1d66c (diff) |
empty SET OF with malloc(0)
Diffstat (limited to 'skeletons/constr_SET_OF.c')
-rw-r--r-- | skeletons/constr_SET_OF.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c index e93c70c8..841e67f8 100644 --- a/skeletons/constr_SET_OF.c +++ b/skeletons/constr_SET_OF.c @@ -355,7 +355,7 @@ SET_OF_encode_der(asn_TYPE_descriptor_t *td, void *ptr, } computed_size += encoding_size; - if(!cb) { + if(!cb | list->count == 0) { erval.encoded = computed_size; _ASN_ENCODED_OK(erval); } |