Commit Graph

1857 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
151a2e368e (mem_free): free key array too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 20:26:58 +00:00
Love Hörnquist Åstrand
f6cdbe6393 free private key and tbs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 20:21:50 +00:00
Love Hörnquist Åstrand
3fe32c86f9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:49:37 +00:00
Love Hörnquist Åstrand
af29f2c594 (hxtool_ca): free signer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:46:17 +00:00
Love Hörnquist Åstrand
b2852c4eb2 (crypto_available): free peer too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:14:06 +00:00
Love Hörnquist Åstrand
9f58a01b0f (get_AuthorityKeyIdentifier): leak less memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 14:06:28 +00:00
Love Hörnquist Åstrand
d124db5c13 (hxtool_ca): free subject name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:57:11 +00:00
Love Hörnquist Åstrand
aa7c813a59 (hxtool_ca): free SPKI
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:54:43 +00:00
Love Hörnquist Åstrand
bee46381d8 (hxtool_ca): free cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:53:09 +00:00
Love Hörnquist Åstrand
5b5ea66379 (mem_getkeys): allocate one more the we have elements so its possible
to store the NULL pointer at the end.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 13:48:28 +00:00
Love Hörnquist Åstrand
f2ca0bc21c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 12:01:53 +00:00
Love Hörnquist Åstrand
192d693f72 CLEANFILES += cert-null.pem cert-sub-ca2.pem
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 10:27:51 +00:00
Love Hörnquist Åstrand
e780e61d92 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 12:18:53 +00:00
Love Hörnquist Åstrand
0d4be844dd Disable CRLDistributionPoints test for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 12:17:49 +00:00
Love Hörnquist Åstrand
adc1d7286e Disable CRLDistributionPoints for now, its IMPLICIT code in the asn1 parser.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 12:17:18 +00:00
Love Hörnquist Åstrand
25ddd175da x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 09:11:28 +00:00
Love Hörnquist Åstrand
48515e61c5 Add some more \n's.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 09:11:19 +00:00
Love Hörnquist Åstrand
202e892dea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:47:39 +00:00
Love Hörnquist Åstrand
9b8384b209 Allow mapping using heim_octet_string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:46:13 +00:00
Love Hörnquist Åstrand
56b26bb2cc Add options to generate detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:45:55 +00:00
Love Hörnquist Åstrand
5f1b3a853b Add flags to generate detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:45:20 +00:00
Love Hörnquist Åstrand
1820a1f17b Flag to generate detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:45:00 +00:00
Love Hörnquist Åstrand
b9f5ea7628 Support detached sigatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:44:14 +00:00
Love Hörnquist Åstrand
ea7f403c7c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:55:07 +00:00
Love Hörnquist Åstrand
5ed0a6bdd9 (hx509_general_name_unparse): unparse the other GeneralName nametypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:54:27 +00:00
Love Hörnquist Åstrand
50009d684a Use less printf. Use hx509_general_name_unparse.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:53:46 +00:00
Love Hörnquist Åstrand
07cea9d767 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:04:47 +00:00
Love Hörnquist Åstrand
7e32c2becf Fix printing and plug leak-on-error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 09:03:01 +00:00
Love Hörnquist Åstrand
e629fa7c61 add printing of SubjectKeyIdentifier and AuthorityKeyIdentifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 08:46:49 +00:00
Love Hörnquist Åstrand
9244476504 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:55:42 +00:00
Love Hörnquist Åstrand
60c4c908c9 Add test for ca --crl-uri.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:55:33 +00:00
Love Hörnquist Åstrand
7c237a0685 Add ca --crl-uri.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:55:14 +00:00
Love Hörnquist Åstrand
f2b0cd7d5a add ca --crl-uri
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:54:40 +00:00
Love Hörnquist Åstrand
c9d7b42f9d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:37:15 +00:00
Love Hörnquist Åstrand
4156103f1a Code to set CRLDistributionPoints in certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:37:05 +00:00
Love Hörnquist Åstrand
c6fb026eb1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:34:31 +00:00
Love Hörnquist Åstrand
c135a37d37 Check CRLDistributionPointNames.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:34:20 +00:00
Love Hörnquist Åstrand
7d4ebe6f73 (hx509_general_name_unparse): function for unparsing GeneralName, only
supports GeneralName.URI


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 15:33:04 +00:00
Love Hörnquist Åstrand
bb82e186fd indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 11:29:11 +00:00
Love Hörnquist Åstrand
c86d7c38d6 (is_proxy_cert): free info if we wont return it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 11:24:45 +00:00
Love Hörnquist Åstrand
9ed66398de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 21:13:29 +00:00
Love Hörnquist Åstrand
b6379492f9 Try to help how to use this command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 21:13:09 +00:00
Love Hörnquist Åstrand
cbb9bd8b2b Fix sha2 oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 10:38:54 +00:00
Love Hörnquist Åstrand
33995b7b61 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 00:00:52 +00:00
Love Hörnquist Åstrand
8f77211c55 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-21 00:00:13 +00:00
Love Hörnquist Åstrand
5820ca3c54 switch to sha256 as default digest for signinging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 23:58:14 +00:00
Love Hörnquist Åstrand
c0b88c68eb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 11:27:33 +00:00
Love Hörnquist Åstrand
2b855619e6 Really test sub-ca code, add basic constraints tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-20 11:23:15 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
d90ec6ba6b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:00:45 +00:00