empty SET OF with malloc(0)

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);
 	}