Commit Graph

348 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
93afdf243c remove boolean for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-22 23:54:23 +00:00
Love Hörnquist Åstrand
cf04eedc31 add TBoolean
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-22 23:51:59 +00:00
Love Hörnquist Åstrand
64f54caed8 decode IA5Stringa and UTF8String
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-22 22:37:17 +00:00
Love Hörnquist Åstrand
d28e2d0ebc add support for printing Enumerated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 16:08:56 +00:00
Love Hörnquist Åstrand
9c604bf8c2 add SAM types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 05:37:17 +00:00
Love Hörnquist Åstrand
7ba349d53a add KRB5_NT_SMTP_NAME and KRB5_NT_ENTERPRISE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 22:10:29 +00:00
Love Hörnquist Åstrand
751a7769ef don't prefix the pretty printer with heim_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 10:07:43 +00:00
Love Hörnquist Åstrand
cbba49a837 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 10:02:38 +00:00
Love Hörnquist Åstrand
a5d3c4f398 s/UTF8String/heim_utf8_string/ in generated code
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-23 09:59:27 +00:00
Johan Danielsson
e368fa330b set free'd poiners to NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-20 16:18:49 +00:00
Love Hörnquist Åstrand
d69795d2cf remove trance of generate tests files, its not really for consumption yet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-16 18:06:33 +00:00
Love Hörnquist Åstrand
ee4a8728d5 (gen_files): add asn1_KerberosString and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 17:52:29 +00:00
Love Hörnquist Åstrand
11e5bfe11e (ETYPE-INFO2-ENTRY): salt is a KerberosString
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 13:04:24 +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
Love Hörnquist Åstrand
af60336dcb make the aes and sha1 checksum types match draft-ietf-krb-wg-crypto-05
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-22 03:34:47 +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
e6992a52e1 s/FROM KERBEROS5/FROM krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 13:43:28 +00:00
Love Hörnquist Åstrand
b29a7e40a2 add missing structures
uncomment CHOICE stantments


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 12:25:59 +00:00
Love Hörnquist Åstrand
ee39ef2d2a draft-ietf-krb-wg-kerberos-set-passwd-00.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 21:57:22 +00:00
Love Hörnquist Åstrand
5762de90e3 (typetype): sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:45:43 +00:00
Love Hörnquist Åstrand
bd85856ef6 -= add parser/generate glue for UTF8String and NULL
(DER primitive encode/decode functions missing)
- handle parsing of DEFAULT and, ...


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:42:10 +00:00
Love Hörnquist Åstrand
b6e089b24f (gen_files): asn1_ChangePasswdDataMS.x for RFC3244
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:31:33 +00:00
Love Hörnquist Åstrand
36060776ac add ChangePasswdDataMS, for RFC3244
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-12 16:26:06 +00:00
Johan Danielsson
92c75b1260 there is no \e escape sequence; replace everything with hex-codes, and
cast to unsigned char* to make some compilers happy


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 16:21:19 +00:00
Love Hörnquist Åstrand
dae49e68a5 gen_files += asn1_ETYPE_INFO2.x and asn1_ETYPE_INFO2_ENTRY.x
(libasn1_la_LDFLAGS): set version to 6:1:1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-04 14:18:50 +00:00
Love Hörnquist Åstrand
df3ef5d9c9 add ETYPE-INFO2 and ETYPE-INFO2-ENTRY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 09:47:18 +00:00
Love Hörnquist Åstrand
21f95ad266 (copy_general_string): use strdup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-17 07:13:08 +00:00
Love Hörnquist Åstrand
bdef0a4d2b remove sprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-17 07:12:24 +00:00
Love Hörnquist Åstrand
03b4bd44fb remove strcpy/sprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-17 07:09:18 +00:00
Love Hörnquist Åstrand
2185a5f683 add checks for Authenticator too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-26 10:55:07 +00:00
Love Hörnquist Åstrand
192dd1aa4b add check-gen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:23:05 +00:00
Love Hörnquist Åstrand
350b97991f add Principal check
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:22:39 +00:00
Love Hörnquist Åstrand
515d17106c move generic asn1/der functions from check-der.c to here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:21:56 +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