empty SET OF with malloc(0)


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1035 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c
index e93c70c..841e67f 100644
--- a/skeletons/constr_SET_OF.c
+++ b/skeletons/constr_SET_OF.c
@@ -355,7 +355,7 @@
 	}
 	computed_size += encoding_size;
 
-	if(!cb) {
+	if(!cb | list->count == 0) {
 		erval.encoded = computed_size;
 		_ASN_ENCODED_OK(erval);
 	}