Import upstream 19d378f44:heimdal: Add 64-bit integer support to ASN.1 compiler, part 2
ASN.1 INTEGERs will now compile to C int64_t or uint64_t, dependingThis adjusts the generated files:
* asn1parse.c, asn1parse.h (although these seem to be generated by the
on whether the constraint ranges include numbers that cannot beFreeBSD build system too)
* der-protos.h, which needs a bunch of new prototypes. I stole them from
represena der-protos.h generated in 32-bit ints and whether they include negativeby the upstream build system, which uses a
numbers.
Template backend support included. check-template is now built withperl script for this.
* adjust printf format strings for int64_t. Upstream uses %lld for this,
--template, so we know we're testing it.
Tests included.
This is a direct application of the upstream patchbut that is not portable, but it DOES NOT compileand leads to lots of -Werror warnings.