Commit Graph

1735 Commits

Author SHA1 Message Date
Love Hornquist Astrand
5373d3a869 Allow parsing of cert fail unless HX509_CERTS_UNPROTECT_ALL is set. 2009-07-30 10:20:04 +02:00
Love Hornquist Astrand
b1dc4dc97e (_hx509_Name_to_string): free memory on failure (that should not happen) [CID 176] 2009-07-30 07:25:36 +02:00
Love Hörnquist Åstrand
4c302b52f8 remove unused type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-17 18:10:59 +00:00
Love Hörnquist Åstrand
b57571d609 add depencies for ocsp_asn1.h pkcs10_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:28 +00:00
Love Hörnquist Åstrand
2f58f14e09 add hx509_peer_info_add_cms_alg and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:39 +00:00
Love Hörnquist Åstrand
357a115f65 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:06 +00:00
Love Hörnquist Åstrand
3d88641010 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:55 +00:00
Love Hörnquist Åstrand
f0f5f236dc Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:45 +00:00
Love Hörnquist Åstrand
001e058f91 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:34 +00:00
Love Hörnquist Åstrand
4cd4853c3b Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:22 +00:00
Love Hörnquist Åstrand
c8e9f23dc4 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:12 +00:00
Love Hörnquist Åstrand
becda09568 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:19:03 +00:00
Love Hörnquist Åstrand
7a23a190a1 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:18:53 +00:00
Love Hörnquist Åstrand
2baa886d7a Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:18:43 +00:00
Love Hörnquist Åstrand
7df0a533ab Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:18:32 +00:00
Love Hörnquist Åstrand
8a5799199b Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:18:23 +00:00
Love Hörnquist Åstrand
f290cd306e Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:18:13 +00:00
Love Hörnquist Åstrand
9957a09bba Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:18:03 +00:00
Love Hörnquist Åstrand
dccd572c45 use S_ISDIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:41 +00:00
Love Hörnquist Åstrand
2e992827d9 remove unused variable, set ret before use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:29 +00:00
Love Hörnquist Åstrand
21ceaf518f clear error string, it makes no sense
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:43:57 +00:00
Love Hörnquist Åstrand
6fcb49d88f ignore failure when --never-fail flag is passed in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:43:47 +00:00
Love Hörnquist Åstrand
d17fab3f7b add --never-fail flag to print
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:43:36 +00:00
Love Hörnquist Åstrand
6dc1f7bb98 Support parsing keys that have the group parameter include in the
EC_PrivateKey block. PKCS8's -- PRIVATE KEY -- vs PEM's -- EC PRIVATE KEY --

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:43:26 +00:00
Love Hörnquist Åstrand
1eca860a46 Pass up error code from PEM format parser.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:43:11 +00:00
Love Hörnquist Åstrand
afa607c8f4 pass more bit so that EC keys works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:42:58 +00:00
Love Hörnquist Åstrand
b2fe5bd2a0 handle EC private keys for real
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:42:45 +00:00
Love Hörnquist Åstrand
42717a8d09 Make sure that we can parse EC private keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:42:31 +00:00
Love Hörnquist Åstrand
213f234111 use flags to hx509_cms_envelope_1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:16 +00:00
Love Hörnquist Åstrand
a1b70e2edc better error handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:02 +00:00
Love Hörnquist Åstrand
f6800d16eb catch memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:48 +00:00
Love Hörnquist Åstrand
f7629cddeb make error reporting better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:36 +00:00
Love Hörnquist Åstrand
0da1e21fdb use right variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:24 +00:00
Love Hörnquist Åstrand
5385679acd cast size_t to int for "%.*s"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:14 +00:00
Love Hörnquist Åstrand
a041ea8906 remove unused return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:15 +00:00
Love Hörnquist Åstrand
b160538c43 hx509_peer_info_add_cms_algs rename to hx509_peer_info_add_cms_alg()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:16:30 +00:00
Love Hörnquist Åstrand
ee02b6c453 add hx509_peer_info_add_cms_algs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:16:17 +00:00
Love Hörnquist Åstrand
8b2ed3a418 regen with unbroken otherName parser
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-27 02:19:11 +00:00
Love Hörnquist Åstrand
71ca2c0415 shuffle for openssl-1.0.0-beta1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-27 02:18:56 +00:00
Love Hörnquist Åstrand
b7064afbcf Find first CN= in the name, and try to match the hostname on that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-27 02:18:44 +00:00
Love Hörnquist Åstrand
c7e0279abd regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:29:32 +00:00
Love Hörnquist Åstrand
f73d077b5b regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:27:48 +00:00
Love Hörnquist Åstrand
806551e98f test sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:26:03 +00:00
Love Hörnquist Åstrand
49e51e45d6 handle pkcs8 PrivateKeyInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:24:23 +00:00
Love Hörnquist Åstrand
16db7f341f extra sha-2 and sha-1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:22:38 +00:00
Love Hörnquist Åstrand
da2d803cf6 regen with sha256 + sha512
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:20:51 +00:00
Love Hörnquist Åstrand
673f326a7f add ec certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 21:15:20 +00:00
Love Hörnquist Åstrand
f0366476c5 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:58 +00:00
Love Hörnquist Åstrand
146f753987 make attach release the keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:47 +00:00
Love Hörnquist Åstrand
3221f51f1c document flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:57 +00:00