Commit Graph

15378 Commits

Author SHA1 Message Date
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
7d99983112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:00:52 +00:00
Love Hörnquist Åstrand
08e64c0d1b (gen_wrapper): use the generated version of name for function, if no
function is is used, also use the generated name for the structure
name.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 15:00:40 +00:00
Love Hörnquist Åstrand
8c8ebcd9aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 11:54:50 +00:00
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