Commit Graph

15378 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
4c75ad55b0 (_hx509_write_file): add a function that write a data blob to disk too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:21:29 +00:00
Love Hörnquist Åstrand
a466928bb3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:06:48 +00:00
Love Hörnquist Åstrand
9a65106a30 fix id tags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:05:40 +00:00
Love Hörnquist Åstrand
dcde19f45e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 17:01:39 +00:00
Love Hörnquist Åstrand
0a70228c08 Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 16:59:14 +00:00
Love Hörnquist Åstrand
c3bf2d966b add PKCS12-OctetString
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 11:08:47 +00:00
Love Hörnquist Åstrand
b24968272f Adapt to IMPLICIT changes in CMS module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:42:01 +00:00
Love Hörnquist Åstrand
a8f3b3b5f0 add new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:40:47 +00:00
Love Hörnquist Åstrand
1a653c9ed0 include SET OF in Attribute to make the type more useful
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:39:47 +00:00
Love Hörnquist Åstrand
17a3d4c545 add some more oid's needed for CMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:38:28 +00:00
Love Hörnquist Åstrand
f03a6ff4f3 handle IMPLICIT and share some common structures
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-23 10:37:13 +00:00
Love Hörnquist Åstrand
dba37c76b7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-22 10:36:49 +00:00
Love Hörnquist Åstrand
6c103d74ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 21:04:37 +00:00
Love Hörnquist Åstrand
e5fe708bc5 Include enough workarounds that this even might work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 21:04:14 +00:00
Love Hörnquist Åstrand
091fd69373 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:53:09 +00:00
Love Hörnquist Åstrand
91343fdb0c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:52:32 +00:00
Love Hörnquist Åstrand
5b5c414c58 fix workaround for IMPLICIT CONS case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:49:15 +00:00
Love Hörnquist Åstrand
5dfc656f1e Two implicit tests, one with all structures inlined
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:48:27 +00:00
Love Hörnquist Åstrand
e8e359c3e5 gen_files_test += asn1_TESTImplicit2.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 20:47:37 +00:00
Love Hörnquist Åstrand
43bae75fe0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:51:12 +00:00
Love Hörnquist Åstrand
cd2906e547 hint that there are IMPLICIT content when we find it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:50:59 +00:00
Love Hörnquist Åstrand
b3df78e697 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:48:12 +00:00
Love Hörnquist Åstrand
f9186683ce Added #ifdef out test for IMPLICIT tagging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:47:58 +00:00
Love Hörnquist Åstrand
ec6d0840fc test several IMPLICIT tag level deep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:45:32 +00:00
Love Hörnquist Åstrand
aefa27d866 test several IMPLICIT tag level deep
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:39:40 +00:00
Love Hörnquist Åstrand
3d9e36d3a1 tests for IMPLICIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:14:53 +00:00
Love Hörnquist Åstrand
8c0660f084 Expand on what is wrong with the IMPLICIT tagging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-21 19:09:41 +00:00