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
Love Hörnquist Åstrand
28ec0adc8b
Change logic for default trust anchors, make it be either default
...
trust anchor, the user supplied, or non at all.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 19:29:56 +00:00
Love Hörnquist Åstrand
cc4333b758
remove cvs ignore files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
cfa7d1eeaf
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 05:08:46 +00:00
Love Hörnquist Åstrand
75eba630b9
Add data/j.pem.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 05:05:24 +00:00
Love Hörnquist Åstrand
db2a2a595f
Add test_windows.in.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 04:12:50 +00:00
Love Hörnquist Åstrand
9df9f6a9da
revert 21003
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand
12df8538af
use "roken.h" consitantly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand
b4450cd442
Update.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:24:41 +00:00
Love Hörnquist Åstrand
d4871f592d
Update.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:23:09 +00:00
Love Hörnquist Åstrand
32ba8c49ad
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:17:27 +00:00
Love Hörnquist Åstrand
8456183c48
rename functions, leaks less memory and more paranoia.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:17:17 +00:00
Love Hörnquist Åstrand
e133dc6209
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:57:18 +00:00
Love Hörnquist Åstrand
9e01858ba1
Test cms peer-alg.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:56:54 +00:00
Love Hörnquist Åstrand
8d185f280c
(rsa_create_signature): make oid_id_pkcs1_rsaEncryption mean
...
rsa-with-sha1 but oid oid_id_pkcs1_rsaEncryption in algorithm field.
XXX should probably use another algorithmIdentifier for this.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:53:02 +00:00
Love Hörnquist Åstrand
c8cb0753ee
Make free function return void.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:51:34 +00:00
Love Hörnquist Åstrand
a93b07021f
(hx509_cms_create_signed_1): Use hx509_peer_info to select the
...
signature algorithm too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:50:55 +00:00
Love Hörnquist Åstrand
5c70b04159
Merge init of hx509_peer_info structure and allow it for cms-create-sd.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:49:14 +00:00