Commit Graph

13 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9dfec2715f use size_t, print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 19:36:37 +00:00
Love Hörnquist Åstrand
387710cab1 test for "der_length.c: Fix len_unsigned for certain negative
integers, it got the length wrong" , from Panasas, Inc.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:30:07 +00:00
Love Hörnquist Åstrand
939b444ca3 prefix typedef\'s and structs with heim_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 13:57:32 +00:00
Johan Danielsson
5ce268bf83 Fix encoding of "unsigned" integers. If MSB is set, we need to pad
with a zero byte.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 21:59:52 +00:00
Love Hörnquist Åstrand
094ad23abc move out the generic asn1/der functions to a common file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:19:49 +00:00
Assar Westerlund
d58e378f3a make this build again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 03:17:34 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
7f6621b7f3 add test cases for Generalized time and make sure we return the
correct value


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7055 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 03:08:53 +00:00
Assar Westerlund
c57514b379 more test cases for integers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6469 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-15 17:16:37 +00:00
Assar Westerlund
6860cee394 (generic_test): check malloc return value properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6466 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 20:58:31 +00:00
Assar Westerlund
86d38a634d add test of -1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6357 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:39:42 +00:00
Johan Danielsson
67a59977d1 fix printf warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5424 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-26 16:36:59 +00:00
Assar Westerlund
cb60e93e4d new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5352 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-13 16:16:29 +00:00