Commit Graph

1042 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
111de1cb5e (readd) support negative numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:41:48 +00:00
Love Hörnquist Åstrand
54bf17b263 support hex numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:40:21 +00:00
Love Hörnquist Åstrand
f04518dc7f (decode_*): name all tag-length variables the same
(decode_enumerated): check that the tag-length is not longer the length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:29:22 +00:00
Love Hörnquist Åstrand
861f615ca9 (decode_boolean): fail if length of tag is larger then len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:23:43 +00:00
Johan Danielsson
2510c2ae80 add support for /* */ and partial line -- comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 14:26:14 +00:00
Love Hörnquist Åstrand
c65f0e94ca (libasn1_la_SOURCES) += der_cmp.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:01:01 +00:00
Love Hörnquist Åstrand
7bc2e8f782 add heim_oid_cmp and heim_octet_string_cmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:54:02 +00:00
Love Hörnquist Åstrand
5d186c03b3 add heim_oid_cmp heim_octet_string_cmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:52:36 +00:00
Love Hörnquist Åstrand
3c71c948b6 add ETYPE_AESNNN_CBC_NONE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:54:16 +00:00
Love Hörnquist Åstrand
45c5b47131 add CMS symmetrical parameters
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:14:13 +00:00
Love Hörnquist Åstrand
d36b180200 add CMS symmetrical parameters here, enctype rc2-cbc
XXX RC2CBCParameter is wrong because the compiler is broken


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:11:04 +00:00
Love Hörnquist Åstrand
8b7d2a4dc4 1.28.2.16: (der_get_oid): handle all oid components being smaller then
127 and allocate one extra element since first byte is split to to
elements.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 00:53:58 +00:00
Love Hörnquist Åstrand
379f4e3738 ETYPE_DIGEST_MD5_NONE, ETYPE_CRAM_MD5_NONE: private use, lukeh@padl.com
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-19 23:29:02 +00:00
Love Hörnquist Åstrand
1b7fe5bcc4 fix prototype of encode_utf8string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:03:49 +00:00
Love Hörnquist Åstrand
f2bdee2b8d catch CHOICE and generate dummy placeholder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:44:00 +00:00
Love Hörnquist Åstrand
322b4a8a3e added dummy parsing of CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:42:55 +00:00
Love Hörnquist Åstrand
6a63f6b416 drop SMTP_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 23:09:24 +00:00