*** empty log message ***
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1015 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/ChangeLog b/ChangeLog
index cbd8a34..6a52042 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,10 @@
-0.9.20: 2005-Nov-13
+0.9.20: 2005-Nov-27
* SET OF CHOICE, SEQUENCE OF CHOICE and a certain named S/O types
are represented differently in XER. THIS IS AN ICOMPATIBLE CHANGE.
(Test case 70) (Severity: low; Security impact: low)
- * PER implementation has started
+ * PER implementation has begun
* asn1c: Removed -ftypes88 command line option.
0.9.19: 2005-Oct-06
diff --git a/skeletons/INTEGER.c b/skeletons/INTEGER.c
index dbb1485..c43ac63 100644
--- a/skeletons/INTEGER.c
+++ b/skeletons/INTEGER.c
@@ -206,7 +206,7 @@
(void)td;
(void)ilevel;
- if(!st && !st->buf)
+ if(!st || !st->buf)
ret = cb("<absent>", 8, app_key);
else
ret = INTEGER__dump(td, st, cb, app_key, 0);
@@ -426,7 +426,7 @@
(void)ilevel;
(void)flags;
- if(!st && !st->buf)
+ if(!st || !st->buf)
_ASN_ENCODE_FAILED;
er.encoded = INTEGER__dump(td, st, cb, app_key, 1);