Commit Graph

1280 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
64dd4ed468 test --hostname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:55:02 +00:00
Love Hörnquist Åstrand
fd1661f019 test max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:54:43 +00:00
Love Hörnquist Åstrand
4f99a5fdd6 fixate HX509_HN_HOSTNAME at 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:54:20 +00:00
Love Hörnquist Åstrand
c5e18ae5eb add --hostname add --max-depth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:50:40 +00:00
Love Hörnquist Åstrand
9341a7ec42 Verify hostname and max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:50:10 +00:00
Love Hörnquist Åstrand
5db583358c Verify hostname and test max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:47:55 +00:00
Love Hörnquist Åstrand
c921b79093 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:53 +00:00
Love Hörnquist Åstrand
58ecb90252 Test --id-by-name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:34 +00:00
Love Hörnquist Åstrand
a3fec27a13 add cms-create-sd --id-by-name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:25:28 +00:00
Love Hörnquist Åstrand
1624d81f5f Use HX509_CMS_SIGATURE_ID_NAME.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:24:53 +00:00
Love Hörnquist Åstrand
bff0a5c11c Implement and use HX509_CMS_SIGATURE_ID_NAME.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:24:20 +00:00
Love Hörnquist Åstrand
0a6bc4b22c Add HX509_CMS_SIGATURE_ID_NAME, use subject name for CMS.Identifier.
hx509_hostname_type: add hostname type for matching.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:21:00 +00:00
Love Hörnquist Åstrand
0d64623642 (match_general_name): more strict rfc822Name matching.
(hx509_verify_hostname): add hostname type for matching.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:20:11 +00:00
Love Hörnquist Åstrand
8781770e97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:54:21 +00:00
Love Hörnquist Åstrand
401141607b Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:53:20 +00:00
Love Hörnquist Åstrand
e4763c806f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:49 +00:00
Love Hörnquist Åstrand
5e0b8a125f Added peap-server for to make windows peap clients happy.
k


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 14:08:36 +00:00
Love Hörnquist Åstrand
6f8241782d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:17:55 +00:00
Love Hörnquist Åstrand
50e2be787d Unify parse_oid code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 05:09:37 +00:00
Love Hörnquist Åstrand
a79415dc15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:22:32 +00:00
Love Hörnquist Åstrand
a3f2a611d8 Also print NULL:
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:16:14 +00:00
Love Hörnquist Åstrand
4149100c58 test --content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:53 +00:00
Love Hörnquist Åstrand
ae9c048776 Implement --content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:25 +00:00
Love Hörnquist Åstrand
c9d85b6204 Add content-type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 00:11:03 +00:00
Love Hörnquist Åstrand
8d7bfb5847 add test_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 23:26:27 +00:00
Love Hörnquist Åstrand
0293c52cc0 more cert and keyset tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 23:25:59 +00:00
Love Hörnquist Åstrand
976ed1905d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:08:42 +00:00
Love Hörnquist Åstrand
df3a19d174 Avoid stomping on NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:55:46 +00:00
Love Hörnquist Åstrand
b243898000 Avoid reusing i.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:55:06 +00:00
Love Hörnquist Åstrand
3be06f138f Provide __attribute__ for _hx509_abort.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:51:52 +00:00
Love Hörnquist Åstrand
552ac7f547 free memory on failure, don't operate on NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:37:25 +00:00
Love Hörnquist Åstrand
af2893a890 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:31:29 +00:00
Love Hörnquist Åstrand
8e9ebe14de Fail if not finding iv.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:30:11 +00:00
Love Hörnquist Åstrand
7c5b097a53 Avoid useing freed memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:24:19 +00:00
Love Hörnquist Åstrand
000a661cad Free memory in failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:23:26 +00:00
Love Hörnquist Åstrand
81de1fa484 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:18:58 +00:00
Love Hörnquist Åstrand
e32c43989d Free memory in failure case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:18:45 +00:00
Love Hörnquist Åstrand
e051a8a3c4 Don't expose freed pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:13:27 +00:00
Love Hörnquist Åstrand
fae08f960f Introduce subtypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-16 07:00:49 +00:00
Love Hörnquist Åstrand
8399f4f198 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 06:40:18 +00:00
Love Hörnquist Åstrand
f622a16e97 Add hx509_cert_init_data and use everywhere
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 06:39:53 +00:00
Love Hörnquist Åstrand
8554301502 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:12:48 +00:00
Love Hörnquist Åstrand
98b5a611bd Now that KEYCHAIN:system-anchors is fast again, use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:11:19 +00:00
Love Hörnquist Åstrand
7a61e0a75f Implement trust anchor support with SecTrustCopyAnchorCertificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 02:09:26 +00:00
Love Hörnquist Åstrand
08ae4bf7bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 01:06:49 +00:00
Love Hörnquist Åstrand
cadd30c594 Set ref to 1 for the new object.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 01:06:25 +00:00
Love Hörnquist Åstrand
b966050470 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 21:12:03 +00:00
Love Hörnquist Åstrand
22eaa9a658 Fix logic for allow_default_trust_anchors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 21:04:32 +00:00
Love Hörnquist Åstrand
299c044597 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:31:08 +00:00
Love Hörnquist Åstrand
144b8c583c Add refcounting to keystores.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:30:33 +00:00