Commit Graph

459 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3d9e36d3a1 tests for IMPLICIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:14:53 +00:00
Love Hörnquist Åstrand
8c0660f084 Expand on what is wrong with the IMPLICIT tagging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:09:41 +00:00
Love Hörnquist Åstrand
090d803dfe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 10:20:48 +00:00
Love Hörnquist Åstrand
ad8050e056 some of the structure are in the IMPLICIT TAGS module, adapt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 10:20:16 +00:00
Love Hörnquist Åstrand
aae79f52b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:49:45 +00:00
Love Hörnquist Åstrand
050f24465c print size_t by casting to unsigned long and use right printf format
tags are unsigned integers


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:49:05 +00:00
Love Hörnquist Åstrand
3d0c56c8fc (generate_constant): oid elements are unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:46:50 +00:00
Love Hörnquist Åstrand
30cb2f9c22 (decode_type): tagdatalen should be an size_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:09:30 +00:00
Love Hörnquist Åstrand
35506ca735 (decode_heim_any): tag is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:05:16 +00:00
Love Hörnquist Åstrand
dd801b3ca3 (der_match_tag): tag is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:04:00 +00:00
Love Hörnquist Åstrand
a0f68f2640 (length_type): cast size_t argument to unsigned long and use
appropriate printf format


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:01:59 +00:00
Love Hörnquist Åstrand
111eda69f8 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:09:32 +00:00
Love Hörnquist Åstrand
5940c92087 (check_fail_bitstring): check for length overflow
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:09:18 +00:00
Love Hörnquist Åstrand
352e621dd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:08:38 +00:00
Love Hörnquist Åstrand
0f15be4a2d rewrite integer overflow tests w/o SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:08:18 +00:00
Love Hörnquist Åstrand
eaaf5d23fd (generic_decode_fail): only copy in if checklen its less then 0xffffff
and larger than 0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:07:25 +00:00
Love Hörnquist Åstrand
0a52623725 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:21:43 +00:00
Love Hörnquist Åstrand
c77f5c2515 (find_tag): find external references, we can't handle those, so tell
user that instead of crashing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:21:28 +00:00
Love Hörnquist Åstrand
c2f3dcf61d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:18:55 +00:00
Love Hörnquist Åstrand
42c8e8f966 (free_heim_any_set): Fix return.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:18:39 +00:00
Love Hörnquist Åstrand
a42c7b8b15 (find_tag): Fix return in TType case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:16:25 +00:00
Love Hörnquist Åstrand
ca2802aba8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 10:40:36 +00:00
Love Hörnquist Åstrand
ab69af8c30 (TChoice): add () to make sure variable expression is evaluated correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 10:40:23 +00:00
Love Hörnquist Åstrand
e101a6175e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:47 +00:00
Love Hörnquist Åstrand
1b5061371c reapply 1.43 that got lost in the merge: rename pvno to krb5-pvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:29:49 +00:00
Love Hörnquist Åstrand
d79bcbb3a6 (decode_type): TChoice: set the label
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 18:08:38 +00:00
Love Hörnquist Åstrand
b49d932283 (cmp_Name): do at least some checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 18:05:29 +00:00
Love Hörnquist Åstrand
b838707d0e Commit much improved ASN.1 compiler from joda-choice-branch.
Highlighs for the compiler is support for CHOICE and in general better
support for tags. This compiler support most of what is needed for
PK-INIT, LDAP, X.509, PKCS-12 and many other protocols.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 06:27:42 +00:00
Love Hörnquist Åstrand
d013b896d9 heim_any
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-10 05:13:52 +00:00
Love Hörnquist Åstrand
53ac3a20b2 make scope variables unique to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-10 05:13:09 +00:00
Love Hörnquist Åstrand
7cb5f5ba32 revert previous until I've have cleaned libvers mess
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:11:00 +00:00
Love Hörnquist Åstrand
421d2b645f don't include <version.h>, it forces unnecessary rebuilds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:48:57 +00:00
Love Hörnquist Åstrand
944e3fda05 rename pvno to krb5-pvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:58:59 +00:00
Love Hörnquist Åstrand
ea01b7dc43 rename optind to optidx, remove shadowed variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:09:27 +00:00
Love Hörnquist Åstrand
4eaa507264 rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:05:31 +00:00
Love Hörnquist Åstrand
622777b1ce rename to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:03:38 +00:00
Love Hörnquist Åstrand
491a812d67 rename function filename to get_filename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:58:58 +00:00
Love Hörnquist Åstrand
ee007305f2 use get_filename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:58:35 +00:00
Love Hörnquist Åstrand
8e78ed6e48 prefix Der_class with ASN1_C_ to avoid problems with system headerfiles that pollute the name space
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:23:01 +00:00
Love Hörnquist Åstrand
f3877257e6 use $(LIB_com_err)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-29 18:42:52 +00:00
Love Hörnquist Åstrand
98dcb8409a switch the units variable to a function. gcc-4.1 needs the size of the
structure if its defined as extern struct units foo_units[] an we
don't want to include <parse_units.h> in the generate headerfile


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 18:07:07 +00:00
Love Hörnquist Åstrand
84ebbbffc2 sync patypes with pkinit branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-08 10:32:44 +00:00
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
381c3f8b41 const poison
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:37:42 +00:00
Love Hörnquist Åstrand
6d7b7f51f7 avoid const string warnings steming from writeable-string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-31 00:08:58 +00:00
Love Hörnquist Åstrand
338ae0e431 bump version to 7:0:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:44:00 +00:00
Love Hörnquist Åstrand
7ee1cf1d33 (hashcaseadd): cast argument to toupper to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:55:26 +00:00
Luke Howard
3891343759 Add authorization data types for enctype negotiation implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-04 13:52:30 +00:00
Love Hörnquist Åstrand
de76cc0520 don't print garabage for octet strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 14:02:15 +00:00
Love Hörnquist Åstrand
d1c56fd683 sync enctypes with pkinit branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:42:37 +00:00