Commit Graph

11170 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
a073113c08 Don't expose free pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:02:23 +00:00
Love Hörnquist Åstrand
6a7734667a (_krb5_pk_load_id): fail directoy for first calloc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:52:29 +00:00
Love Hörnquist Åstrand
14537be0f4 (get_reply_key*): don't expose freed memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:49:42 +00:00
Love Hörnquist Åstrand
8ab80e3238 Host is static memory, don't free.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:48:09 +00:00
Love Hörnquist Åstrand
5bb7b3bc79 (decrypt_internal_derived): make sure length is longer then confounder
+ checksum.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:45:21 +00:00
Love Hörnquist Åstrand
3a5f005244 (_gsskrb5_pseudo_random): add missing break.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:28:44 +00:00
Love Hörnquist Åstrand
c0661b67f2 Set *minor_status unconditionallty, its done later anyway.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:26:50 +00:00
Love Hörnquist Åstrand
ab8094ae4c Init get_mic to 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:23:14 +00:00
Love Hörnquist Åstrand
fd3ca527e1 Free memory in failure case, found by beam.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:19:59 +00:00
Love Hörnquist Åstrand
23e434119d Handle mech_type being NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:11:07 +00:00
Love Hörnquist Åstrand
cd23060c10 Handle cred_name being NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:08:24 +00:00
Love Hörnquist Åstrand
0dea8f59be Free memory in error case, found by beam.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:05:26 +00:00
Love Hörnquist Åstrand
d7cd92f569 Init data to something.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 19:48:02 +00:00
Love Hörnquist Åstrand
204c44be9e (sl_make_argv): use memmove since we are dealing with overlapping strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 19:45:53 +00:00
Love Hörnquist Åstrand
6a64e4d44c provide better error string for the common failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 12:59:32 +00:00
Love Hörnquist Åstrand
b1f3eb8118 (pk_rd_pa_reply_enckey): simplify handling of content data (and avoid
leaking memory).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:49:08 +00:00
Love Hörnquist Åstrand
3b9777f5ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:20:58 +00:00
Love Hörnquist Åstrand
5e25789281 Use /etc/shadow, not /dev/shadow, pointed out by Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:19:45 +00:00
Love Hörnquist Åstrand
ed07eec3c8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:56:14 +00:00
Love Hörnquist Åstrand
08fa7ba08b add rand-timer.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:55:28 +00:00
Love Hörnquist Åstrand
2561a961e3 Provide timer prototypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:53:46 +00:00