Love Hörnquist Åstrand
c45fec90c7
Add string error handling functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 14:01:32 +00:00
Love Hörnquist Åstrand
a7e3644eb9
(hx509_certs_init): pass the right error code back
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 13:36:07 +00:00
Love Hörnquist Åstrand
9b49a268ec
Revert previous patch.
...
(hx509_ocsp_verify): new function that returns the expiration of
certificate in ocsp data-blob
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 14:57:29 +00:00
Love Hörnquist Åstrand
37db31f903
Reverse previous patch, lets do it another way.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 14:53:05 +00:00
Love Hörnquist Åstrand
e9f16d62ab
(hx509_revoke_verify): update usage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 14:11:55 +00:00
Love Hörnquist Åstrand
0d24f17608
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 14:10:15 +00:00
Love Hörnquist Åstrand
38bd0f7fda
Add the time the crl/ocsp info expire
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 14:05:57 +00:00
Love Hörnquist Åstrand
71d1acf5ff
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 08:00:51 +00:00
Love Hörnquist Åstrand
832c728396
Add hx509_name_is_null_p
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 07:35:36 +00:00
Love Hörnquist Åstrand
4a99bbcc37
remove _hx509_cert_private_sigature
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 07:35:08 +00:00
Love Hörnquist Åstrand
5f3de5351d
Expose more of Name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 21:30:21 +00:00
Love Hörnquist Åstrand
b56704d1f2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 16:30:01 +00:00
Love Hörnquist Åstrand
ee6a3fed14
(main): add missing argument to printf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 16:29:46 +00:00
Love Hörnquist Åstrand
d9c374fc74
regen, now with EKU in kdc certificate
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 15:08:41 +00:00
Love Hörnquist Åstrand
3cbc662bc7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 15:05:22 +00:00
Love Hörnquist Åstrand
ab4cf1597e
Add EKU for the KDC certificate
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 15:05:11 +00:00
Love Hörnquist Åstrand
a4e67a6533
(hx509_cert_get_base_subject): reject un-canon proxy certs, not the reverse
...
(add_to_list): constify and fix argument order to copy_octet_string
(hx509_cert_find_subjectAltName_otherName): make work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 14:22:41 +00:00
Love Hörnquist Åstrand
fea62ab3b7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 16:43:26 +00:00
Love Hörnquist Åstrand
5a7018a15e
pkinit certificates
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 16:42:59 +00:00
Love Hörnquist Åstrand
9275975f0f
Generate pkinit certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 16:41:56 +00:00
Love Hörnquist Åstrand
c6c3668d19
Add pkinit glue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 16:41:17 +00:00
Love Hörnquist Åstrand
665526d2df
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 11:28:38 +00:00
Love Hörnquist Åstrand
feb2699d9b
(hx509_verify_hostname): implement stub function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 11:24:10 +00:00
Love Hörnquist Åstrand
9f74e254e8
CRL delta support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 08:01:04 +00:00
Love Hörnquist Åstrand
bbe32e832c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:11:13 +00:00
Love Hörnquist Åstrand
f9889e9eab
ignore leftover from OpenSSL generation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:10:14 +00:00
Love Hörnquist Åstrand
01da7f3a0c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:09:34 +00:00
Love Hörnquist Åstrand
5a305af6a1
Add name malformated error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:09:02 +00:00
Love Hörnquist Åstrand
1047c39f0d
(hx509_parse_name): don't abort on error, rather return error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:08:36 +00:00
Love Hörnquist Åstrand
378ecba935
Test failure parsing name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:07:48 +00:00
Love Hörnquist Åstrand
c7b6f93485
When verifying certificates, store subject basename for later consumption.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:33:55 +00:00
Love Hörnquist Åstrand
4035c1117d
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:18:11 +00:00
Love Hörnquist Åstrand
dcbc344ca5
Add test_name to regression tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:17:33 +00:00
Love Hörnquist Åstrand
3a3a774e1e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:16:52 +00:00
Love Hörnquist Åstrand
0117efb5aa
test to parse and print name and check that they are the same.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:16:44 +00:00
Love Hörnquist Åstrand
d9f7944c9b
(hx509_parse_name): fix length argument to printf string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:15:57 +00:00
Love Hörnquist Åstrand
fe9bb14be8
(hx509_parse_name): fix length argument to stringtooid, 1 too short.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:12:36 +00:00
Love Hörnquist Åstrand
70552d3ed2
remove debug printf's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:59:52 +00:00
Love Hörnquist Åstrand
e944135b02
(hx509_parse_name): make compile pre c99
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:56:26 +00:00
Love Hörnquist Åstrand
b55c0fbc9c
OpenSSL have a serious issue of user confusion -subj in -ca takes the
...
arguments in LDAP order. -subj for x509 takes it in x509 order.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:49:23 +00:00
Love Hörnquist Åstrand
b1139e02d0
(hx509_verify_path): handle the case where the where two proxy certs
...
in a chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:47:45 +00:00
Love Hörnquist Åstrand
5cf4bf36f0
enable two proxy certificates in a chain test
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:45:01 +00:00
Love Hörnquist Åstrand
d7839a8c50
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:17:18 +00:00
Love Hörnquist Åstrand
05e08f62a6
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:16:38 +00:00
Love Hörnquist Åstrand
c76ab3bc40
build proxy certificates
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:16:01 +00:00
Love Hörnquist Åstrand
d1b6d05cdc
add def for proxy10_cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:15:33 +00:00
Love Hörnquist Åstrand
dfe29472cd
add more certs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:15:12 +00:00
Love Hörnquist Åstrand
dfd46eaeaa
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:46:22 +00:00
Love Hörnquist Åstrand
ce731322d7
Add another proxy certificate error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:45:48 +00:00
Love Hörnquist Åstrand
0c3cff7fec
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:03:02 +00:00