Commit Graph

859 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0b0d99fd0e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 20:18:57 +00:00
Love Hörnquist Åstrand
f59f7099cc Don't accect zero length hex numbers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 20:18:29 +00:00
Love Hörnquist Åstrand
076b535751 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 20:05:38 +00:00
Love Hörnquist Åstrand
523e07f8e5 Also free right memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 20:05:15 +00:00
Love Hörnquist Åstrand
cd004f4ff3 fclose file, not string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:56:41 +00:00
Love Hörnquist Åstrand
67160e8d9f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:13:57 +00:00
Love Hörnquist Åstrand
2f1cc7b5fd Close asn1 file while done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:13:41 +00:00
Love Hörnquist Åstrand
f03f7ec26d more check for der_parse_hex_heim_integer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:14:55 +00:00
Love Hörnquist Åstrand
e4f5561f28 (der_parse_hex_heim_integer): check length before reading data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:03:49 +00:00
Love Hörnquist Åstrand
d2c12f1435 (test_authenticator): free memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 13:24:47 +00:00
Love Hörnquist Åstrand
30b9e222bb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 17:16:25 +00:00
Love Hörnquist Åstrand
7110c79ae2 add MS-UPN-SAN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 17:16:10 +00:00
Love Hörnquist Åstrand
8cf89ccd07 add MS-UPN-SAN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 17:15:52 +00:00
Love Hörnquist Åstrand
13dd13aa60 add asn1_id_ms_client_authentication.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 14:52:11 +00:00
Love Hörnquist Åstrand
5de627d609 Do evil things to handle IMPLICIT encoded structures.
Add id-ms-client-authentication.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 14:51:46 +00:00
Love Hörnquist Åstrand
14de225227 id-ms-cert-enroll-domaincontroller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 22:08:14 +00:00
Love Hörnquist Åstrand
8411d0dcfb Add asn1_id_ms_cert_enroll_domaincontroller.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 22:06:12 +00:00
Love Hörnquist Åstrand
7e11830fdc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-11 00:41:05 +00:00
Love Hörnquist Åstrand
b313013d8f Add struct units; as a forward declaration. Pointed out by Marcus Watts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-11 00:39:41 +00:00
Love Hörnquist Åstrand
226964ebd1 Netscape extentions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:44:41 +00:00
Love Hörnquist Åstrand
6b8e488368 Netscape extentions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:43:20 +00:00
Love Hörnquist Åstrand
78398287a2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:31:49 +00:00
Love Hörnquist Åstrand
eb6c93a886 add U.S. Federal PKI Common Policy Framework
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:31:33 +00:00
Love Hörnquist Åstrand
4418e220eb add U.S. Federal PKI Common Policy Framework
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 18:31:11 +00:00
Love Hörnquist Åstrand
25767cac3f Add malloc paranoid, it shouldn't matter if sizeof(uint{32,16}_t) is 4,2.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-27 14:06:27 +00:00
Love Hörnquist Åstrand
6c242c65b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 16:14:59 +00:00
Love Hörnquist Åstrand
99212e8b87 Handle the case of resize to 0 and realloc that returns NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 16:14:30 +00:00
Love Hörnquist Åstrand
8f80e44621 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 09:52:09 +00:00
Love Hörnquist Åstrand
7c114c4051 (check_seq): free seq.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 09:50:37 +00:00
Love Hörnquist Åstrand
d8a8a49b95 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 07:07:09 +00:00
Love Hörnquist Åstrand
393f0ed433 (test_heim_oid_format_same): avoid leaking memory in the non failure case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-19 07:06:55 +00:00
Love Hörnquist Åstrand
6f625101d2 Try to be more correct and don't fall off the end. Pointed out by
Kevin Coffman.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 17:47:42 +00:00
Love Hörnquist Åstrand
8a4de2f00a test more combinations of NUL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 17:47:01 +00:00
Love Hörnquist Åstrand
e652d77112 More tests for trailing NULs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20370 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 17:41:28 +00:00
Love Hörnquist Åstrand
b0690e4e58 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:26:26 +00:00
Love Hörnquist Åstrand
ed3e07f288 remove extra ^Q
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:26:09 +00:00
Love Hörnquist Åstrand
1cd4fe8eb8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:10:53 +00:00
Love Hörnquist Åstrand
2e356b6607 Allow trailing NULs. We allow this since MIT Kerberos sends an strings
in the NEED_PREAUTH case that includes a trailing NUL.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:09:37 +00:00
Love Hörnquist Åstrand
0e328b194e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:26:52 +00:00
Love Hörnquist Åstrand
69bcfdec87 Add PA-ClientCanonicalized and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:23:17 +00:00
Love Hörnquist Åstrand
680352601d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:20:29 +00:00
Love Hörnquist Åstrand
adf9121822 Add PA-ClientCanonicalized and friends.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-17 00:11:22 +00:00
Love Hörnquist Åstrand
f9a9b8961a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 01:10:10 +00:00
Love Hörnquist Åstrand
f8cbee6da9 Drop one over INT_MAX test-case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 01:09:30 +00:00
Love Hörnquist Åstrand
6ac417d0e2 add asn1_id_pkinit_ms_eku.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 11:32:40 +00:00
Love Hörnquist Åstrand
d36e32d28d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 11:31:52 +00:00
Love Hörnquist Åstrand
2607c5771c add id-pkinit-ms-eku
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 11:31:29 +00:00
Love Hörnquist Åstrand
7991175dca fill in more bits of id-pkinit-ms-san
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 11:27:48 +00:00
Love Hörnquist Åstrand
5d555a4a2f rename hash-a1 to session key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:08:24 +00:00
Love Hörnquist Åstrand
2efae55f0b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:19:27 +00:00