Commit Graph

24262 Commits

Author SHA1 Message Date
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
b9ff6a94a3 rename parse.y to asn1parse.y
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:29 +00:00
Love Hörnquist Åstrand
8338244c6d use strerror(errno) + "%s" instead of "%m", since %m is not really a printf formater
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:19 +00:00
Love Hörnquist Åstrand
569ee5438c The max_ arguments are really "%.*s" format input paramaters, to make them into ints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:08 +00:00
Love Hörnquist Åstrand
c660c77a26 don't calculate unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:58 +00:00
Love Hörnquist Åstrand
9f46439d78 remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:47 +00:00
Love Hörnquist Åstrand
8bdfc86327 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:37 +00:00
Love Hörnquist Åstrand
00c0fcb461 Use OID variable instead of function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:20:27 +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
65e7108f79 use oid variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:52 +00:00
Love Hörnquist Åstrand
d477cd2e23 use oid variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:42 +00:00
Love Hörnquist Åstrand
a63aa6e262 use oid variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:31 +00:00
Love Hörnquist Åstrand
0e6b5c5c22 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:17 +00:00
Love Hörnquist Åstrand
a619d66c48 Use S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:13 +00:00
Love Hörnquist Åstrand
1db1289c87 use S_ISDIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:45:03 +00:00
Love Hörnquist Åstrand
1e5a14f8bd use S_ISDIR and S_ISREG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:52 +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
60f56e7e65 no wrapext
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:18 +00:00
Love Hörnquist Åstrand
6d379afd2a catch extra data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:08 +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
63a9b03afb its ok to not have a password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 21:37:31 +00:00
Love Hörnquist Åstrand
bae28e7868 add ROKEN_LIB_FUNCTION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 17:42:29 +00:00
Love Hörnquist Åstrand
32d844275a make _stdcall __stdcall
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 17:42:20 +00:00
Love Hörnquist Åstrand
7b8d7eb177 make _stdcall __stdcall
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 17:42:10 +00:00
Love Hörnquist Åstrand
160f0dc1b4 kadmind version 4 is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-21 17:41:59 +00:00
Love Hörnquist Åstrand
f825704b06 More documentation about pkinit_principal_in_certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-19 05:29:26 +00:00
Love Hörnquist Åstrand
1ab1b93b28 more const-ification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:53 +00:00
Love Hörnquist Åstrand
a50b14f32b more const-ification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:43 +00:00
Love Hörnquist Åstrand
072bd861e9 Pull out address and compare, from Ake Holmlund, otherwise it wont work for IPv6 on Solaris10.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:26 +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