Commit Graph

24 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1da0ea830b Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:58:18 +00:00
Love Hörnquist Åstrand
1122885754 (hx509_revoke_free): allow free of NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:26:59 +00:00
Love Hörnquist Åstrand
3d0bd3bbfe changed signature of _hx509_check_key_usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 14:05:35 +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
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
e01c6dbc48 (hx509_ocsp_request): comment on why we need to match the issuer too.
(hx509_revoke_ocsp_print): more verbose printing.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 18:29:37 +00:00
Love Hörnquist Åstrand
0fcc9f43ac (verify_ocsp): spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:30:46 +00:00
Love Hörnquist Åstrand
76a4c45ce5 (verify_ocsp): require issuer to match too.
(free_ocsp): new function
(hx509_revoke_ocsp_print): new function, print ocsp reply


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 15:21:24 +00:00
Love Hörnquist Åstrand
feb71a9269 (load_ocsp): test that we got back a BasicReponse
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:15:02 +00:00
Love Hörnquist Åstrand
95d72c00e1 Support OCSPResponderID.byKey, indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 02:09:38 +00:00
Love Hörnquist Åstrand
ca809dc7cf (hx509_ocsp_request): Add nonce to ocsp request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 01:36:21 +00:00
Love Hörnquist Åstrand
16d16befdd refactor code, fix a un-init-ed variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-01 00:29:23 +00:00
Love Hörnquist Åstrand
ba70d7c12d Plug one memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:26:35 +00:00
Love Hörnquist Åstrand
1f876a35cb Renamed generic CRL related errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:23:30 +00:00
Love Hörnquist Åstrand
bfbc55c6cc Add ocsp checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:14:12 +00:00
Love Hörnquist Åstrand
4d9b604abe Pick out certs in chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:45:00 +00:00
Love Hörnquist Åstrand
94e1fd1616 Add code to load OCSPBasicOCSPResponse files, reload crl when its
changed on disk.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:52:33 +00:00
Love Hörnquist Åstrand
099a14e094 hx509_certs_find is now exposed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:49:04 +00:00
Love Hörnquist Åstrand
44b5efca00 Check for unknown extentions in CRLs and CRLEntries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 20:01:48 +00:00
Love Hörnquist Åstrand
4859d1d1eb (hx509_revoke_free): free all memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:33:20 +00:00
Love Hörnquist Åstrand
547c672a56 Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:31:33 +00:00
Love Hörnquist Åstrand
c2cb23d534 Parse and verify CRLs (simplistic).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:11 +00:00
Love Hörnquist Åstrand
1f9aa1c6f7 Add framework for handling CRLs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:50:11 +00:00