Commit Graph

11091 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
124f90e3dc Reseed the random generator now and then from external sources.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:08:58 +00:00
Love Hörnquist Åstrand
ab41f4906d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:05:34 +00:00
Love Hörnquist Åstrand
8cf8d6f08d Its ok if infotarget2 length is longer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:05:15 +00:00
Love Hörnquist Åstrand
9d57ac6b37 Merge in changes from Puneet Mehra and make work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:04:36 +00:00
Love Hörnquist Åstrand
d65998b43d (heim_ntlm_ntlmv2_key): target should be uppercase.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:16:54 +00:00
Love Hörnquist Åstrand
817462ba31 Add heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:09:10 +00:00
Love Hörnquist Åstrand
b07e515ab9 Test heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:08:53 +00:00
Love Hörnquist Åstrand
c2362aa0b5 Test heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:08:39 +00:00
Love Hörnquist Åstrand
5013f6cbb5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:31:26 +00:00
Love Hörnquist Åstrand
c84d4731b3 Only wrap the delegated cred if we got a delegated mech cred.
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:30:45 +00:00
Love Hörnquist Åstrand
79f9985a9c Only wrap the delegated cred if we are going to return it to the consumer.
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:29:02 +00:00
Love Hörnquist Åstrand
b3d275ac40 Fixed memory leak pointed out by Rafal Malinowski, also while here
moved to use NegotiationToken for decoding.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:23:49 +00:00
Love Hörnquist Åstrand
8781770e97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:54:21 +00:00
Love Hörnquist Åstrand
401141607b Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:53:20 +00:00
Love Hörnquist Åstrand
e4763c806f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:49 +00:00
Love Hörnquist Åstrand
5e0b8a125f Added peap-server for to make windows peap clients happy.
k


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:36 +00:00
Love Hörnquist Åstrand
cc6c68ffac Windows likes little endian, so lets use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 10:10:58 +00:00
Love Hörnquist Åstrand
6f8241782d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:17:55 +00:00
Love Hörnquist Åstrand
50e2be787d Unify parse_oid code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:09:37 +00:00
Love Hörnquist Åstrand
a79415dc15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:22:32 +00:00
Love Hörnquist Åstrand
a3f2a611d8 Also print NULL:
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:16:14 +00:00
Love Hörnquist Åstrand
4149100c58 test --content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:53 +00:00
Love Hörnquist Åstrand
ae9c048776 Implement --content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:25 +00:00
Love Hörnquist Åstrand
c9d85b6204 Add content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:03 +00:00
Love Hörnquist Åstrand
8d7bfb5847 add test_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 23:26:27 +00:00
Love Hörnquist Åstrand
0293c52cc0 more cert and keyset tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 23:25:59 +00:00
Love Hörnquist Åstrand
5b9369bb0f Unbugger, really.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:58:21 +00:00
Love Hörnquist Åstrand
976ed1905d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:08:42 +00:00
Love Hörnquist Åstrand
a329655648 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:07:52 +00:00
Love Hörnquist Åstrand
fea34a948f Set proxy port to 0 to unconfuse BEAM.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:03:13 +00:00
Love Hörnquist Åstrand
ed66cf5d8c Avoid stoping unrelated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:00:59 +00:00
Love Hörnquist Åstrand
fd300fa93a Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:59:44 +00:00
Love Hörnquist Åstrand
e22bb14371 Remove unused assert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:58:12 +00:00
Love Hörnquist Åstrand
df3a19d174 Avoid stomping on NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:55:46 +00:00
Love Hörnquist Åstrand
b243898000 Avoid reusing i.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:55:06 +00:00
Love Hörnquist Åstrand
3be06f138f Provide __attribute__ for _hx509_abort.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:51:52 +00:00
Love Hörnquist Åstrand
d68b36bb90 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:50:22 +00:00
Love Hörnquist Åstrand
0cc0795250 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:39:20 +00:00
Love Hörnquist Åstrand
d76fa938a4 make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:38:18 +00:00
Love Hörnquist Åstrand
552ac7f547 free memory on failure, don't operate on NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:37:25 +00:00
Love Hörnquist Åstrand
af2893a890 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:31:29 +00:00
Love Hörnquist Åstrand
e593553c68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:30:56 +00:00
Love Hörnquist Åstrand
cf84374515 Pass in pointer to strlen().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:30:41 +00:00
Love Hörnquist Åstrand
8e9ebe14de Fail if not finding iv.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:30:11 +00:00
Love Hörnquist Åstrand
7c5b097a53 Avoid useing freed memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:24:19 +00:00
Love Hörnquist Åstrand
000a661cad Free memory in failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:23:26 +00:00
Love Hörnquist Åstrand
81de1fa484 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:18:58 +00:00
Love Hörnquist Åstrand
e32c43989d Free memory in failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:18:45 +00:00
Love Hörnquist Åstrand
e051a8a3c4 Don't expose freed pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:13:27 +00:00
Love Hörnquist Åstrand
c614532c87 (verify_checksum): memset cksum to avoid using pointer from stack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:06:08 +00:00