Commit Graph

24285 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
c0d30cc7d3 handle out of memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:05 +00:00
Love Hörnquist Åstrand
0cd989c99e Turn else info else if to avoid falling of into FALSE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:54 +00:00
Love Hörnquist Åstrand
be0941cb08 catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:40 +00:00
Love Hörnquist Åstrand
a8a2e8140b catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:29 +00:00
Love Hörnquist Åstrand
7afb1de424 catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:19 +00:00
Love Hörnquist Åstrand
eb9f8ba4bb output_name == NULL is invalid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:21:05 +00:00
Love Hörnquist Åstrand
61a2a0fe7a set right return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:20:50 +00:00
Love Hörnquist Åstrand
b9455d54f4 set right return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:20:36 +00:00
Love Hörnquist Åstrand
f62a6180c9 check that alias is added
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:05:01 +00:00
Love Hörnquist Åstrand
173368d011 use constant for locate plugin name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:49 +00:00
Love Hörnquist Åstrand
ecc751b6dd remove #if 0 codeblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:38 +00:00
Love Hörnquist Åstrand
c9d5eca012 only set ret flags i we have them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:26 +00:00
Love Hörnquist Åstrand
e5b52d6b32 need output_cred_handle, don't pretend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:04:15 +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
0de4182acb drop unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:11 +00:00
Love Hörnquist Åstrand
03ae51a040 catch read from socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:03:00 +00:00
Love Hörnquist Åstrand
2da3d041ad catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:49 +00:00
Love Hörnquist Åstrand
4b2db56d70 catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:38 +00:00
Love Hörnquist Åstrand
33b06fbcb9 catch write to socket error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:26 +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
9e9258e2b8 comment out unsupported options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:02:03 +00:00
Love Hörnquist Åstrand
5d65692492 comment out unsupported options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:51 +00:00
Love Hörnquist Åstrand
e85dfe0ce5 KRB5_GET_INIT_CREDS_OPT_SALT is not supported
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:39 +00:00
Love Hörnquist Åstrand
83af77c271 remove code for unsupported option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-06 19:01:26 +00:00