Commit Graph

15897 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
091fba8a25 return 1 on failure, update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:29:46 +00:00
Love Hörnquist Åstrand
464c8d8ca6 (cpw_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:20:49 +00:00
Love Hörnquist Åstrand
fc57663d3a (rename_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:20:06 +00:00
Love Hörnquist Åstrand
51e6fc9b74 (del_entry): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:19:27 +00:00
Love Hörnquist Åstrand
d12920441b (add_new_key): return 1 on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:18:41 +00:00
Love Hörnquist Åstrand
a4ef0411e1 Add printing of pkinit-acls. Don't print password by default. Return 1
on failure processing any of the principals.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:16:00 +00:00
Love Hörnquist Åstrand
ff51c4fa4c (foreach_principal): If any of calls to `func' failes, the first error
is returned when all principals are processed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-25 12:11:09 +00:00
Love Hörnquist Åstrand
5736f9af51 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16651 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-24 08:17:33 +00:00
Love Hörnquist Åstrand
fa19c7c28b Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-24 08:16:08 +00:00
Love Hörnquist Åstrand
4ed5f4abd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 13:02:46 +00:00
Love Hörnquist Åstrand
916de71ce3 remove premature end
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 12:45:05 +00:00
Love Hörnquist Åstrand
af97fbb3c6 Add commited out DSA tests (they fail).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 12:43:04 +00:00
Love Hörnquist Åstrand
0633352207 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 12:23:32 +00:00
Love Hörnquist Åstrand
3c6a4a5826 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 11:10:50 +00:00
Love Hörnquist Åstrand
d5b6219f2a Add 4.2 Validity Periods.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 11:09:27 +00:00
Love Hörnquist Åstrand
76e2e5bd11 Make less verbose to use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:56:57 +00:00
Love Hörnquist Åstrand
aee7bc6102 Start on 4.1 Signature Verification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:29:06 +00:00
Love Hörnquist Åstrand
b27ddd47f5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:21:22 +00:00
Love Hörnquist Åstrand
0c47bfe2ea Add test_nist_cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:20:49 +00:00
Love Hörnquist Åstrand
055d8c7477 Add some more CRL-tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:17:59 +00:00
Love Hörnquist Åstrand
9be2e759dd Print $id instead of . when running the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:17:28 +00:00
Love Hörnquist Åstrand
f10a9a6485 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:05:09 +00:00
Love Hörnquist Åstrand
6a64a8f84f (length_heim_integer): Try handle negative length of integers better.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:04:46 +00:00
Love Hörnquist Åstrand
b8c2cec844 (der_get_heim_integer): handle negative integers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:03:50 +00:00
Love Hörnquist Åstrand
483d00b945 check heim_integer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:00:14 +00:00
Love Hörnquist Åstrand
e94358fc92 Drop verifying certifiates, its done in another test now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 09:04:59 +00:00
Love Hörnquist Åstrand
b7cf177007 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 09:04:23 +00:00
Love Hörnquist Åstrand
91d8ac1a07 fixup kill-rectangle leftovers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 09:04:07 +00:00
Love Hörnquist Åstrand
6182e04ad6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:51:04 +00:00
Love Hörnquist Åstrand
c1d17dd5a2 Drop verifying certifiates, its done in another test now.
Add more crl tests. comment out all unused tests.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:50:50 +00:00
Love Hörnquist Åstrand
e17fe5112f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:45:06 +00:00
Love Hörnquist Åstrand
55ebcbe0b1 less verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:44:45 +00:00
Love Hörnquist Åstrand
87c89894bc fail on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:44:33 +00:00
Love Hörnquist Åstrand
04833e7be9 Test parse all nist certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:44:20 +00:00
Love Hörnquist Åstrand
7b1d6f8d43 Add HX509_CRL_UNKNOWN_EXTENSION.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 20:02:16 +00:00
Love Hörnquist Åstrand
44b5efca00 Check for unknown extentions in CRLs and CRLEntries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 20:01:48 +00:00
Love Hörnquist Åstrand
4859d1d1eb (hx509_revoke_free): free all memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:33:20 +00:00
Love Hörnquist Åstrand
547c672a56 Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:31:33 +00:00
Love Hörnquist Åstrand
faec9e186d Add more CRL checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:30:44 +00:00
Love Hörnquist Åstrand
3152150ae7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:18:23 +00:00
Love Hörnquist Åstrand
510a550bc2 Parse new format to handle CRL info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:17:58 +00:00
Love Hörnquist Åstrand
9d0e8facf9 Add --missing-crl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:17:03 +00:00
Love Hörnquist Åstrand
a0e9478679 (hx509_unparse_der_name): Rename from hx509_parse_name.
(_hx509_unparse_Name): Add.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:16:36 +00:00
Love Hörnquist Åstrand
4fac933bb9 Add --missing-crl to verify commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:15:34 +00:00
Love Hörnquist Åstrand
09436f69c1 Add CRL errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:15:03 +00:00
Love Hörnquist Åstrand
9ea664c77c (hx509_context_set_missing_crl): new function
Add CRL handling.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:14:38 +00:00
Love Hörnquist Åstrand
9a0a60e0ee Add HX509_CTX_CRL_MISSING_OK.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:38 +00:00
Love Hörnquist Åstrand
fc2dc65bcd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:21 +00:00
Love Hörnquist Åstrand
c2cb23d534 Parse and verify CRLs (simplistic).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:11 +00:00
Love Hörnquist Åstrand
1caa24e4ee Parse CRL info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:11:19 +00:00