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
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
a96b264050
Fix len_unsigned for certain negative integers, it got the length
...
wrong, fix from Panasas, Inc.
rename len_int and len_unsigned to _heim_\&
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:27:59 +00:00
Love Hörnquist Åstrand
d0daf9b14c
add _heim_len_unsigned, _heim_len_int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:16:53 +00:00
Love Hörnquist Åstrand
0f49388ac2
test for: (length_type): TSequenceOf: add up the size of all the
...
elements, don't use just the size of the last element.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 22:15:42 +00:00
Love Hörnquist Åstrand
de222a34c8
(length_type): TSequenceOf: add up the size of all the elements, don't
...
use just the size of the last element.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-19 17:54:33 +00:00
Love Hörnquist Åstrand
48a9c79e8f
(copy_oid): copy all components
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-07 07:39:43 +00:00
Love Hörnquist Åstrand
2b0cf9b3eb
add BOOLEAN
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 23:49:41 +00:00
Love Hörnquist Åstrand
adaa1fb814
add SAM types and PAC_REQUEST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:33:20 +00:00
Love Hörnquist Åstrand
e01dbe09dd
add more preauth types, add PA-PAC-REQUEST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:31:01 +00:00
Love Hörnquist Åstrand
8b8bcb8c9b
add boolan support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:28:29 +00:00