Commit Graph

19881 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8eb59c9f9f Try to find ABR in mp_int_mul.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 06:47:41 +00:00
Love Hörnquist Åstrand
0c260a9b11 Some test about CRLs and OCSP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 06:38:18 +00:00
Love Hörnquist Åstrand
6e3a180814 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:12:59 +00:00
Love Hörnquist Åstrand
6ce83b9e50 (crl_sign): free lock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:11:43 +00:00
Love Hörnquist Åstrand
290c3f9fef really, don't load random methods from non existing engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:10:20 +00:00
Love Hörnquist Åstrand
c34ca0a674 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:08:04 +00:00
Love Hörnquist Åstrand
81971fbbcc Don't try to load gmp module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:07:46 +00:00
Love Hörnquist Åstrand
043c764ce8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:02:05 +00:00
Love Hörnquist Åstrand
eb75f79fe2 (hx509_context_free): free querystat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:01:52 +00:00
Love Hörnquist Åstrand
a07ba1a73d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:59:12 +00:00
Love Hörnquist Åstrand
28d7c9277e Free memory diffrently.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:58:51 +00:00
Love Hörnquist Åstrand
a2a84da252 free some more memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:43:10 +00:00
Love Hörnquist Åstrand
95bc4720c8 free some more memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:41:49 +00:00
Love Hörnquist Åstrand
45305335ee infotarget
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:40:13 +00:00
Love Hörnquist Åstrand
3ff4541094 free some more memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:39:36 +00:00
Love Hörnquist Åstrand
42ec2d7143 try free some more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:36:56 +00:00
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