Commit Graph

15105 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
56686ca406 Make variable initiation constant by moving them to global context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:54:36 +00:00
Love Hörnquist Åstrand
a1d804e568 change to c89 comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:53:39 +00:00
Love Hörnquist Åstrand
04f1a146d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:46:54 +00:00
Love Hörnquist Åstrand
b49dd2f6b0 switch to slc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:45:55 +00:00
Love Hörnquist Åstrand
d93bbaaf99 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 06:48:43 +00:00
Love Hörnquist Åstrand
e83339d3f7 remove duplicate asn1_CMSAttributes.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 06:48:19 +00:00
Love Hörnquist Åstrand
4368c9e814 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 21:32:20 +00:00
Love Hörnquist Åstrand
62327ac49e rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 21:32:07 +00:00
Love Hörnquist Åstrand
268bcef1fe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 18:38:22 +00:00
Love Hörnquist Åstrand
9b6c2d438b Update to pkinit-27
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 18:38:08 +00:00
Love Hörnquist Åstrand
7e8fdbc14d update to pkinit-27
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-26 18:37:02 +00:00
Love Hörnquist Åstrand
7a6e3e0f04 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:37:04 +00:00
Love Hörnquist Åstrand
533201dbb2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:36:22 +00:00
Love Hörnquist Åstrand
876760dd16 make it work for non c99 compilers too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:36:00 +00:00
Love Hörnquist Åstrand
153f392b66 start testing BIT STRING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:35:22 +00:00
Love Hörnquist Åstrand
4da84fff89 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:13:34 +00:00
Love Hörnquist Åstrand
3acf98f2ca (hx509_verify_destroy_ctx): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:13:24 +00:00
Love Hörnquist Åstrand
b01e981819 free hx509_verify_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 23:12:45 +00:00
Love Hörnquist Åstrand
198909873a x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 22:42:47 +00:00
Love Hörnquist Åstrand
f6fb9b1a0f (_hx509_name_ds_cmp): make sure all strings are not equal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 22:41:48 +00:00
Love Hörnquist Åstrand
b890285d10 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 22:04:59 +00:00
Love Hörnquist Åstrand
1e5d1917c9 clean up checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 22:04:36 +00:00
Love Hörnquist Åstrand
a856bf7a9d return error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:50:53 +00:00
Love Hörnquist Åstrand
810020a64d return errors from iterations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:50:28 +00:00
Love Hörnquist Åstrand
7b05df1363 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:33:22 +00:00
Love Hörnquist Åstrand
440f98d5f7 (parse_certificate): return errno's not 1 in case of error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:32:34 +00:00
Love Hörnquist Åstrand
d8425c3dd6 (free_type): free bignum integers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:28:29 +00:00
Love Hörnquist Åstrand
68d93ba416 (heim_bit_string_cmp): try handle corner cases better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:03:26 +00:00
Love Hörnquist Åstrand
988d292b08 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:28:33 +00:00
Love Hörnquist Åstrand
5ef7f5c4d9 (file_iter): make sure endpointer is NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:27:58 +00:00
Love Hörnquist Åstrand
74ecd12db9 (mem_iter): follow conversion and return NULL when we get to the end,
not ENOENT.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:27:07 +00:00
Love Hörnquist Åstrand
2499c2dbca test_chain depends on hxtool
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:24:57 +00:00
Love Hörnquist Åstrand
3bb9d9a063 test certs that lasts 10 years
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:24:26 +00:00
Love Hörnquist Åstrand
4d57bd2a9c generate test certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:23:49 +00:00
Love Hörnquist Åstrand
2fc3e95ec3 more checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 20:23:26 +00:00
Love Hörnquist Åstrand
ca0e6314a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 18:59:10 +00:00
Love Hörnquist Åstrand
0c471aed54 Add regression tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 18:58:57 +00:00
Love Hörnquist Åstrand
ba7b786887 test certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 18:58:12 +00:00
Love Hörnquist Åstrand
808f58a762 test chain
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 18:57:14 +00:00
Love Hörnquist Åstrand
8a8927b3b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:47:22 +00:00
Love Hörnquist Åstrand
fe95b0a1a3 (cms_create_sd): add KU digitalSigature as a requirement to the query
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:47:05 +00:00
Love Hörnquist Åstrand
181783a574 add KeyUsage query bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:46:00 +00:00
Love Hörnquist Åstrand
54056b3882 add KeyUsage error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:45:33 +00:00
Love Hörnquist Åstrand
36d90c324b add checks for KeyUsage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:44:35 +00:00
Love Hörnquist Åstrand
9c1bb470a3 more checks on KeyUsage, allow to query on them too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 11:43:10 +00:00
Love Hörnquist Åstrand
4789016d20 Add missing break.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:48:29 +00:00
Love Hörnquist Åstrand
b4da75540c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:38:12 +00:00
Love Hörnquist Åstrand
741d6b5d40 allow matching on SubjectKeyId
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:37:39 +00:00
Love Hörnquist Åstrand
534d106cc9 Use _hx509_map_file, _hx509_unmap_file and _hx509_write_file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:23:41 +00:00
Love Hörnquist Åstrand
c6496bc8bf (_hx509_write_file): in case of write error, return errno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:22:39 +00:00