Commit Graph

11091 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
10c3707b49 free template
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 20:36:35 +00:00
Love Hörnquist Åstrand
43eabf9aa0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 20:30:39 +00:00
Love Hörnquist Åstrand
151a2e368e (mem_free): free key array too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 20:26:58 +00:00
Love Hörnquist Åstrand
f6cdbe6393 free private key and tbs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 20:21:50 +00:00
Love Hörnquist Åstrand
3fe32c86f9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:49:37 +00:00
Love Hörnquist Åstrand
af29f2c594 (hxtool_ca): free signer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:46:17 +00:00
Love Hörnquist Åstrand
b2852c4eb2 (crypto_available): free peer too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:14:06 +00:00
Love Hörnquist Åstrand
9f58a01b0f (get_AuthorityKeyIdentifier): leak less memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:06:28 +00:00
Love Hörnquist Åstrand
d124db5c13 (hxtool_ca): free subject name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:57:11 +00:00
Love Hörnquist Åstrand
aa7c813a59 (hxtool_ca): free SPKI
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:54:43 +00:00
Love Hörnquist Åstrand
bee46381d8 (hxtool_ca): free cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:53:09 +00:00
Love Hörnquist Åstrand
5b5ea66379 (mem_getkeys): allocate one more the we have elements so its possible
to store the NULL pointer at the end.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:48:28 +00:00
Love Hörnquist Åstrand
ed26f631b1 (test_cipher): avoid leaking memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:36:06 +00:00
Love Hörnquist Åstrand
19813066bb write the sizeof(arr)/sizeof(arr[0]) on the common form.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:33:09 +00:00
Love Hörnquist Åstrand
7d21052e80 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:58:18 +00:00
Love Hörnquist Åstrand
4cb6561bb8 test_acquire_cred need test_common.[ch]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:53:16 +00:00
Love Hörnquist Åstrand
37c986b0ac add more test options.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:52:40 +00:00
Love Hörnquist Åstrand
ccada1f55a add lib/gssapi/krb5/external.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:52:08 +00:00
Love Hörnquist Åstrand
cd72133d4c add GSS_KRB5_CCACHE_NAME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:51:32 +00:00
Love Hörnquist Åstrand
9a9abce471 refactor code, implement GSS_KRB5_CCACHE_NAME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:51:06 +00:00
Love Hörnquist Åstrand
6eb598fa83 reimplement gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:49:53 +00:00
Love Hörnquist Åstrand
d62b541ac2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 19:54:26 +00:00
Love Hörnquist Åstrand
bae7f53142 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 19:54:09 +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
b39214ed96 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:30:37 +00:00
Love Hörnquist Åstrand
3583a32e50 Need to import spnego name before we can use it as a gss_name_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:30:21 +00:00
Love Hörnquist Åstrand
9614f8af97 use this test as part of the regression suite.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:28:56 +00:00
Love Hörnquist Åstrand
6752696815 (gss_acquire_cred): dont init cred->gc_mc every time in the loop.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:24:01 +00:00
Love Hörnquist Åstrand
f2ca0bc21c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 12:01:53 +00:00
Love Hörnquist Åstrand
192d693f72 CLEANFILES += cert-null.pem cert-sub-ca2.pem
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:51 +00:00
Love Hörnquist Åstrand
f7f0374925 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:12 +00:00
Love Hörnquist Åstrand
445d8c45ce CLEANFILES += test.file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:03 +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
aba9ef0d50 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 04:22:17 +00:00
Love Hörnquist Åstrand
c0a2207b76 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 19:03:27 +00:00
Love Hörnquist Åstrand
f836885614 add test_common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 18:57:11 +00:00
Love Hörnquist Åstrand
542712c702 spelling, from Jason McIntyre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 17:57:00 +00:00
Love Hörnquist Åstrand
1d64c2435a Test if commit mail works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:58:52 +00:00
Love Hörnquist Åstrand
0dd050478c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:32 +00:00
Love Hörnquist Åstrand
c35f417298 Add randi.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-15 16:54:17 +00:00
Love Hörnquist Åstrand
031692fe75 Free list of limit enctypes if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:51:00 +00:00
Love Hörnquist Åstrand
d3807ad882 Add hideous glue for (NFS) clients that wants to limit the available
enctypes to what it can support (encryption in kernel). If there is no
enctypes selected for this credential, reset it to the default set of
enctypes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:57 +00:00
Love Hörnquist Åstrand
862eb1e0dc Implement GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:49:17 +00:00
Love Hörnquist Åstrand
2994c5a57a (gsskrb5_cred): add list of supported enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20324 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:46:01 +00:00
Love Hörnquist Åstrand
bdff5b6032 (gss_krb5_set_allowable_enctypes): use the length of the array passed
in, stop leaking memory, check for error conditions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:43:50 +00:00
Love Hörnquist Åstrand
e2571a3178 indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:16:28 +00:00
Love Hörnquist Åstrand
25fc4d469a Set error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:55 +00:00