Commit Graph

20515 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a5c1aa04ce (verify): Friendlier error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:59:36 +00:00
Love Hörnquist Åstrand
8a865fee2e Read in and use default trust anchors if they exists.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:58:56 +00:00
Love Hörnquist Åstrand
31ac88517f Add concept of default_trust_anchors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:58:24 +00:00
Love Hörnquist Åstrand
90318d31b3 Remove err(), remove extra empty comment, fix _iter function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:57:52 +00:00
Love Hörnquist Åstrand
7761ecce3f (hx509_get_error_string): if the error code is not the one we expect,
punt and use the default com_err/strerror string instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:53:52 +00:00
Love Hörnquist Åstrand
43ba803237 (hx509_certs_merge): its ok to merge in the NULL set of certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:41:17 +00:00
Love Hörnquist Åstrand
4b729dfdd7 Fix status string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:27:41 +00:00
Love Hörnquist Åstrand
340dff70cb (store_func): free whole CertBag, not just the data part.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 03:09:13 +00:00
Love Hörnquist Åstrand
9e262359f2 Check that the self-signed cert is really self-signed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 02:59:33 +00:00
Love Hörnquist Åstrand
6623ac6441 Use selfsigned for CRL DP whine, tell if its a self-signed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 02:28:18 +00:00
Love Hörnquist Åstrand
887bb5f354 Whine if its a non CA/proxy and doesn't have CRL DP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 02:23:45 +00:00
Love Hörnquist Åstrand
baee263bda Default path-length to -1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 01:59:19 +00:00
Love Hörnquist Åstrand
6ab9862950 Add cRLSign to CA certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 01:58:45 +00:00
Love Hörnquist Åstrand
337ff1cf7f Set subject DN to Windows-CA for the ca cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 01:23:57 +00:00
Love Hörnquist Åstrand
b3c3aabd9f Register NULL and KEYCHAIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:14:53 +00:00
Love Hörnquist Åstrand
934a23b023 register the NULL keystore.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:14:08 +00:00
Love Hörnquist Åstrand
b13087f976 Add ks_keychain.c and related libs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:13:32 +00:00
Love Hörnquist Åstrand
32ef7d06b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:08:33 +00:00
Love Hörnquist Åstrand
98a0fa6017 Print certificate with utf8.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:07:46 +00:00
Love Hörnquist Åstrand
ab50fce383 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:06:06 +00:00
Love Hörnquist Åstrand
852d5a2392 Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:05:31 +00:00
Love Hörnquist Åstrand
789e4f5ac7 Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:04:48 +00:00
Love Hörnquist Åstrand
f4600fe0a5 Leak less memory, use functions that does same but more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:03:10 +00:00
Love Hörnquist Åstrand
91a69074fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:53:18 +00:00
Love Hörnquist Åstrand
75acfd5e12 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:51:54 +00:00
Love Hörnquist Åstrand
0f76edd889 (quote_string): don't sign extend the (signed) char to avoid printing
too much, add an assert to check that we didn't overrun the buffer.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:51:41 +00:00
Love Hörnquist Åstrand
fcc3edd1aa Use right element out of the CHOICE for printableString and utf8String
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:39:51 +00:00
Love Hörnquist Åstrand
701cb835e8 Certificate only KeyChain backend.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:58:24 +00:00
Love Hörnquist Åstrand
0f7c0d6a71 use test for -framework Security
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:47:40 +00:00
Love Hörnquist Åstrand
a7965c2210 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:47:12 +00:00
Love Hörnquist Åstrand
492b12e998 test for -framework Security
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:46:55 +00:00
Love Hörnquist Åstrand
9c322b0357 Reset name before parsing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:13:14 +00:00
Love Hörnquist Åstrand
b96343ee7b Reset name before parsing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:12:38 +00:00
Love Hörnquist Åstrand
4204cbd8b1 Reset name before parsing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:11:53 +00:00
Love Hörnquist Åstrand
19f39c8621 Free memory when done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 17:42:50 +00:00
Love Hörnquist Åstrand
0b5b8b46d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 16:55:25 +00:00
Love Hörnquist Åstrand
1b98e1e231 Print status to stdout.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 16:55:00 +00:00
Love Hörnquist Åstrand
915a0d9074 Use stdout from uu_server.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 16:54:24 +00:00
Love Hörnquist Åstrand
80857df32a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 04:07:45 +00:00
Love Hörnquist Åstrand
f48ceb510e (digest ntlm): provide log entires by setting ret to an error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 04:07:26 +00:00
Love Hörnquist Åstrand
a7b1c0a273 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 04:06:33 +00:00
Love Hörnquist Åstrand
e5b2960fd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:57:11 +00:00
Love Hörnquist Åstrand
7510b36c3b Indent crl-sign.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:55:02 +00:00
Love Hörnquist Åstrand
94affdf316 One more crl-sign example.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:54:06 +00:00
Love Hörnquist Åstrand
03161c046c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:40:19 +00:00
Love Hörnquist Åstrand
72e100cd08 (hx509_crl_*): fix sizeof() mistakes to fix memory corruption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:22:51 +00:00
Love Hörnquist Åstrand
315bfba601 (hash_test): free result.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:09:10 +00:00
Love Hörnquist Åstrand
a34fac4dd2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:03:14 +00:00
Love Hörnquist Åstrand
a369dd0c50 Free environment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:02:04 +00:00
Love Hörnquist Åstrand
bdd3ed1630 (free_environment): free result of read_environment().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:00:45 +00:00