Commit Graph

20242 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2cd729eb0f plug memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:23:20 +00:00
Love Hörnquist Åstrand
be1bf762ec plug memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:21:32 +00:00
Love Hörnquist Åstrand
f03f7ec26d more check for der_parse_hex_heim_integer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:14:55 +00:00
Love Hörnquist Åstrand
e4f5561f28 (der_parse_hex_heim_integer): check length before reading data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:03:49 +00:00
Love Hörnquist Åstrand
0a3cbbe6b5 (certificate_copy): free lock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 13:59:55 +00:00
Love Hörnquist Åstrand
d44e3c226f Fix hx509_set_error_string calls, add hx509_crl_add_revoked_certs(),
implement hx509_crl_{alloc,free}.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 13:46:41 +00:00
Love Hörnquist Åstrand
d2c12f1435 (test_authenticator): free memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 13:24:47 +00:00
Love Hörnquist Åstrand
33e3354b94 Simple blob about publishing CRLs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 07:30:52 +00:00
Love Hörnquist Åstrand
7b0967828b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 07:26:25 +00:00
Love Hörnquist Åstrand
8683376309 drop text about enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 07:25:41 +00:00
Love Hörnquist Åstrand
d3a1623477 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 06:58:17 +00:00
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