diff --git a/ChangeLog b/ChangeLog index cbd8a34fd26f9a29ac00e97714390370857f3ec2..6a520426cbda85072456e396d7f7606a458d806d 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 dbb148598d279a53937f18329ddd8f65558e4bd8..c43ac6387b780fcd94eedfb69f94c92e58ea0eb7 100644 --- a/skeletons/INTEGER.c +++ b/skeletons/INTEGER.c @@ -206,7 +206,7 @@ INTEGER_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, (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 @@ INTEGER_encode_xer(asn_TYPE_descriptor_t *td, void *sptr, (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);