Commit Graph

11189 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
28ec0adc8b Change logic for default trust anchors, make it be either default
trust anchor, the user supplied, or non at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:29:56 +00:00
Love Hörnquist Åstrand
582a9d3c06 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 18:00:11 +00:00
Love Hörnquist Åstrand
18278b0bef use krb5_sendto_context to talk to the KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:59:36 +00:00
Love Hörnquist Åstrand
055dd97483 (_krb5_kdc_retry): check if the whole process needs to restart or just
skip this KDC.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:58:57 +00:00
Love Hörnquist Åstrand
2511fccfe3 Use krb5_sendto_context to talk to KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:56:30 +00:00
Love Hörnquist Åstrand
3fd75229b3 Add sendto hooks and opaque structure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:54:00 +00:00
Love Hörnquist Åstrand
220a01c50b Update prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:52:46 +00:00
Love Hörnquist Åstrand
e86b58e01c Add hooks for processing the reply from the server.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:49:37 +00:00
Love Hörnquist Åstrand
88254f2835 (krb5_rd_error): make indata const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:22:31 +00:00
Love Hörnquist Åstrand
6e9d640726 Some new error codes from RFC 4120.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 02:00:40 +00:00
Love Hörnquist Åstrand
70cc374382 Add <rand.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 19:11:54 +00:00
Love Hörnquist Åstrand
987fdc4154 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:04:39 +00:00
Love Hörnquist Åstrand
c269f5b1c4 Test for random device before running the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:04:24 +00:00
Love Hörnquist Åstrand
6f5e55c30a Test for random device.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:03:13 +00:00
Love Hörnquist Åstrand
f6f9690bd1 (test_BN_rand): skip this test if there is no random device
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 07:57:46 +00:00
Love Hörnquist Åstrand
90c8aa259d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:39:20 +00:00
Love Hörnquist Åstrand
8911675d8e (kdc_alloc): free memory on failure, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:39:05 +00:00
Love Hörnquist Åstrand
b98022f088 (kdc_destroy): free context when done, pointed out by Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:35:28 +00:00
Love Hörnquist Åstrand
a906ca54bf (_gss_spnego_display_name): if input_name is null, fail.
From Rafal Malinowski.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 15:32:47 +00:00
Love Hörnquist Åstrand
41d699a0eb don't clean yacc/lex files in CLEANFILES, maintainers clean will do that for us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 04:45:36 +00:00
Love Hörnquist Åstrand
5e0a11ad1f don't clean yacc/lex files in CLEANFILES, maintainers clean will do that for us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 04:43:47 +00:00
Love Hörnquist Åstrand
c037f4e1bb don't clean yacc/lex files in CLEANFILES, maintainers clean will do that for us.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 04:28:39 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
34570645e8 More cmp checks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 17:02:42 +00:00
Love Hörnquist Åstrand
97b03e70fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 15:36:12 +00:00
Love Hörnquist Åstrand
e03847efb8 EXTRA_DIST += version-script.map.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 15:34:29 +00:00
Love Hörnquist Åstrand
cfa7d1eeaf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 05:08:46 +00:00
Love Hörnquist Åstrand
75eba630b9 Add data/j.pem.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 05:05:24 +00:00
Love Hörnquist Åstrand
db2a2a595f Add test_windows.in.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 04:12:50 +00:00
Love Hörnquist Åstrand
1aba7634c7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:54:50 +00:00
Love Hörnquist Åstrand
5cd0815781 use "roken.h" consitantly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:54:35 +00:00
Love Hörnquist Åstrand
9df9f6a9da revert 21003
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand
12df8538af use "roken.h" consitantly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand
1584ffb24f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 23:00:32 +00:00
Love Hörnquist Åstrand
100c30d823 Include more ui.[ch] in libbctest.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 22:57:52 +00:00
Assar Westerlund
61cdb8dc19 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 21:06:54 +00:00
Assar Westerlund
c4819f4de8 NIIL should be NIL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 21:06:00 +00:00
Love Hörnquist Åstrand
0d6fa63426 Unexport _hc_DES_ipfp_test now there is a separate test lib.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:55:09 +00:00
Love Hörnquist Åstrand
41f87f49f7 Build library libhctest.la for testing and link with that when testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:53:33 +00:00
Love Hörnquist Åstrand
6ed9be8995 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:16:06 +00:00
Love Hörnquist Åstrand
9d528da1a8 export _hc_DES_ipfp_test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:15:45 +00:00
Love Hörnquist Åstrand
bf02504f31 Require the raw key have the correct size and do away with the
minsize.  Minsize was a thing that originated from RC2, but since RC2
is done in the x509/cms subsystem now there is no need to keep that
around.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:05:50 +00:00
Love Hörnquist Åstrand
ec9707b58d If there is no default dbname, also check for unset mkey_file and set
it default mkey name, make backward compat stuff work.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 16:17:05 +00:00
Love Hörnquist Åstrand
b4450cd442 Update.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:24:41 +00:00
Love Hörnquist Åstrand
d4871f592d Update.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:23:09 +00:00
Love Hörnquist Åstrand
32ba8c49ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:17:27 +00:00
Love Hörnquist Åstrand
8456183c48 rename functions, leaks less memory and more paranoia.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:17:17 +00:00
Love Hörnquist Åstrand
e133dc6209 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:57:18 +00:00
Love Hörnquist Åstrand
9e01858ba1 Test cms peer-alg.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:56:54 +00:00
Love Hörnquist Åstrand
8d185f280c (rsa_create_signature): make oid_id_pkcs1_rsaEncryption mean
rsa-with-sha1 but oid oid_id_pkcs1_rsaEncryption in algorithm field.
XXX should probably use another algorithmIdentifier for this.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:53:02 +00:00