Commit Graph

116 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e84e12d06e sprinkel rk_UNCONST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:18:21 +00:00
Love Hörnquist Åstrand
db921e48f1 add DER NULL to the digest oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:07:15 +00:00
Love Hörnquist Åstrand
aae0d9d220 add --content-info to cms-verify-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:06:21 +00:00
Love Hörnquist Åstrand
2524a63c87 (hx509_cms_create_signed_1): pass in a full AlgorithmIdentifier
instead of heim_oid for digest_alg


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:02:13 +00:00
Love Hörnquist Åstrand
4fa74ad527 make digest_alg a digest_oid, it's not needed right now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:31:44 +00:00
Love Hörnquist Åstrand
a7c5af0827 add CERT_NOT_FOUND
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:30:12 +00:00
Love Hörnquist Åstrand
3f7e96f387 (_hx509_certs_find): add error code for keyset not found
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:29:49 +00:00
Love Hörnquist Åstrand
a2cf1e1758 (hx509_cms_verify_signed): add external store of certificates, use the
right digest algorithm identifier.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:29:01 +00:00
Love Hörnquist Åstrand
8e29b2d8f8 fix const warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:21:50 +00:00
Love Hörnquist Åstrand
cbf73d7f8f slightly less verboese
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:20:47 +00:00
Love Hörnquist Åstrand
f1fdd9b275 add hx509_cert_find_subjectAltName_otherName
add HX509_QUERY_MATCH_FRIENDLY_NAME


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:19:41 +00:00
Love Hörnquist Åstrand
fdbb09ce51 add hx509_octet_string_list, remove bad comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:19:03 +00:00
Love Hörnquist Åstrand
765e4bf4ad add HX509_QUERY_MATCH_FRIENDLY_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:07:34 +00:00
Love Hörnquist Åstrand
15822411b5 (hx509_certs_append): needs a hx509_lock, add one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:07:07 +00:00
Love Hörnquist Åstrand
9c1ee5d947 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:05:00 +00:00
Love Hörnquist Åstrand
968da2e639 add test cases turds to CLEANFILES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:04:36 +00:00
Love Hörnquist Åstrand
f85f390567 add test_query to TESTS, fix dependency on hxtool sources on hxtool-commands.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:02:48 +00:00
Love Hörnquist Åstrand
ad070bdb2f explain what signer is for create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:02:07 +00:00
Love Hörnquist Åstrand
ed0a230297 add query, add more options to verify-sd and create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:01:44 +00:00
Love Hörnquist Åstrand
03717b6fd4 add more cms tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:01:21 +00:00
Love Hörnquist Åstrand
6215763ddb add query, add more options to verify-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 18:56:36 +00:00
Love Hörnquist Åstrand
8d5e771c77 test query interface
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 18:55:44 +00:00
Love Hörnquist Åstrand
13e9a40274 fix filenames for ds/ke files, add pkcs12 files, regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 18:55:01 +00:00
Love Hörnquist Åstrand
e757fa8562 add test for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:24:04 +00:00
Love Hörnquist Åstrand
1c9aeb2f70 test for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:46 +00:00
Love Hörnquist Åstrand
defa66507d use (some of the) options for -create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:36 +00:00
Love Hörnquist Åstrand
0eacf30968 add more options for create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:23:12 +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
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
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