`lib/asn1/check-gen.c` almost works with templates, and is a pretty
extensive test. The only thing that fails is everything to do with
IMPLICIT tags (so, `test_implicit()`).
So now we compile `lib/asn1/test.asn1` both, w/ and w/o templating, and
we build two programs from `lib/asn1/check-gen.c`: `check-gen` and
`check-gen-template`, respectively linking with the non-templated and
the templated compilation of `lib/asn1/test.asn1`.
Because the template compiler still doesn't support IMPLICIT tagging
well, we disable testing of IMPLICIT tags in `check-gen-template`.
This will make it much harder to break the template compiler in the
future.
you must not memmove memory beyond the array.
From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18218 ec53bebd-3082-4978-b11e-865c3cabbd6b
writing realloc(foo->data, sizeof(foo->data[0]) + (foo->len + 1));
Only generated for those type that is enabled by the command flag --sequence.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18005 ec53bebd-3082-4978-b11e-865c3cabbd6b