]> git.ipfire.org Git - thirdparty/krb5.git/commit
Adjust asn1c test vector code for new asn1c 228/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 28 Oct 2014 18:31:19 +0000 (14:31 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 31 Oct 2014 17:01:44 +0000 (13:01 -0400)
commit0558407467d9e35148f3c40babbc4551ef982e73
tree81a1c6948c81ed53d34abfc97b86c3c8bf9bb7a7
parent3c330ea5846ca02da36a0cb5a5c879364d28a267
Adjust asn1c test vector code for new asn1c

asn1c 0.9.22 added support for representing integers using unsigned
types if they have appropriate constraints.  This changes the
representation of RFC4120's UInt32 type from Integer_t to unsigned
long.  In make-vectors.c, this means we can use a static initializer
for kvno, and that the old method of calling asn_long2INTEGER doesn't
work.  Adjust make-vectors.c to assume the newer version of asn1c.
src/tests/asn.1/make-vectors.c