Commit Graph

20515 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
592ffea5a2 Make free functions free memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:36:31 +00:00
Love Hörnquist Åstrand
1144144650 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:40:18 +00:00
Love Hörnquist Åstrand
a7ea4ab003 Plug memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:39:49 +00:00
Love Hörnquist Åstrand
f57ad3e8e7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:35:51 +00:00
Love Hörnquist Åstrand
ceb434a58b In case of OCSP verification failure, referash every 5 min. In case of
success, refreash 2 min before expiring or faster.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:35:32 +00:00
Love Hörnquist Åstrand
af5f66bb0d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:24:38 +00:00
Love Hörnquist Åstrand
4cb78cbb30 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:19:38 +00:00
Love Hörnquist Åstrand
f1643c2723 test ocsp-verify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:19:06 +00:00
Love Hörnquist Åstrand
4f52c4766a (hx509_ocsp_verify): explain what its useful for and provide sane error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:18:12 +00:00
Love Hörnquist Åstrand
85d84dd15e New error code, CERT_NOT_IN_OCSP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:11:20 +00:00
Love Hörnquist Åstrand
aa1c29af38 New command ocsp-verify, check if ocsp contains all certs and are
valid (exist and non expired).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:09:54 +00:00
Love Hörnquist Åstrand
ac5c46095d New command ocsp-verify.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:08:39 +00:00
Love Hörnquist Åstrand
f188987fa3 Test both with and without keyex.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 23:21:47 +00:00
Love Hörnquist Åstrand
fedbf25113 If we didn't set session key, don't expect one back.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 23:19:00 +00:00
Love Hörnquist Åstrand
d791782559 Set keyex flag and calculate session key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 23:15:55 +00:00
Love Hörnquist Åstrand
40573b0450 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:30:51 +00:00
Love Hörnquist Åstrand
01fa9651b6 Create crl and verify that is works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:30:25 +00:00
Love Hörnquist Åstrand
b244ea47fd Sign CRL command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:29:44 +00:00
Love Hörnquist Åstrand
0d7c929c6d Add hx509_crl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:28:55 +00:00
Love Hörnquist Åstrand
5f546a763e Add crl-sign commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:28:26 +00:00
Love Hörnquist Åstrand
0d73993576 Support to generate an empty CRL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:27:58 +00:00
Love Hörnquist Åstrand
02586ef214 clean crl.crl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:27:32 +00:00
Love Hörnquist Åstrand
92eb178d8a Switched default types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:46:45 +00:00
Love Hörnquist Åstrand
e33a6700ac Switched default types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:46:28 +00:00
Love Hörnquist Åstrand
949dfd44f0 Use default AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:31:18 +00:00
Love Hörnquist Åstrand
97b8a8f765 Use default AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:30:58 +00:00
Love Hörnquist Åstrand
7fb311a15d Provide default AlgorithmIdentifier and use them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:30:29 +00:00
Love Hörnquist Åstrand
7cf2f2ac1a Provide default AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:30:11 +00:00
Love Hörnquist Åstrand
ee8f651792 Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:29:52 +00:00
Love Hörnquist Åstrand
01e0dead4f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:04:47 +00:00
Love Hörnquist Åstrand
e28d281748 (hx509_certs_find): collects stats for queries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:04:25 +00:00
Love Hörnquist Åstrand
8bd94acbdd Sort and print more info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:03:14 +00:00
Love Hörnquist Åstrand
8ed2bb38e4 Add querystat to hx509_context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:48:51 +00:00
Love Hörnquist Åstrand
e3909014e4 If there are no querystat file, whine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:47:21 +00:00
Love Hörnquist Åstrand
4f97424296 turn on stat collecting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:46:00 +00:00
Love Hörnquist Åstrand
ecba53e501 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:17:17 +00:00
Love Hörnquist Åstrand
b9da6ebef0 sprinle stat saveing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:17:03 +00:00
Love Hörnquist Åstrand
2e864fd369 Add stat and objdir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:05:25 +00:00
Love Hörnquist Åstrand
4481b27002 (_hx509_collector_alloc): return error code instead of pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:04:13 +00:00
Love Hörnquist Åstrand
644b44dbef Add statistic hook.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:02:28 +00:00
Love Hörnquist Åstrand
659e1cb47e Update _hx509_collector_alloc prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:02:01 +00:00
Love Hörnquist Åstrand
3782c5cc9e Update _hx509_collector_alloc prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:01:33 +00:00
Love Hörnquist Åstrand
afbe259df2 Update _hx509_collector_alloc prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:00:08 +00:00
Love Hörnquist Åstrand
d2d30f8b2a Add statistics hook.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 21:58:56 +00:00
Love Hörnquist Åstrand
98c0802377 Statistics printing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 21:53:41 +00:00
Love Hörnquist Åstrand
c9b307394a plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:39:18 +00:00
Love Hörnquist Åstrand
d6b8dfeb1e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:35:46 +00:00
Love Hörnquist Åstrand
9bfadd6bbb (hx509_ca_tbs_add_crl_dp_uri): plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:33:48 +00:00
Love Hörnquist Åstrand
5feb9080e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:25:16 +00:00
Love Hörnquist Åstrand
b6bcedddb2 (main): also fclose yyin.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 11:24:52 +00:00