Commit Graph

1573 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3ecc00cd39 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:28 +00:00
Love Hörnquist Åstrand
85f2710a83 check transative properties of name compare function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:13 +00:00
Love Hörnquist Åstrand
8d59ecffe5 don't set P11_LOGIN_DONE before we're logged in
fixes crash on subsequent logins

From: Guido Günther.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:15 +00:00
Love Hörnquist Åstrand
f31067f2fc [PATCH] don't try to clean unset P11_SESSION_IN_USE
fixes abort()

From: Guido Günther.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:11 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
192506f0c2 Use explit result for counters
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:31:16 +00:00
Love Hörnquist Åstrand
cf6451436b check return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:31:04 +00:00
Love Hörnquist Åstrand
ab3d0e36c0 drop never used variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:30:50 +00:00
Love Hörnquist Åstrand
6ff91f7f31 check return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:30:36 +00:00
Love Hörnquist Åstrand
980d3d3d1e define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 15:57:20 +00:00
Love Hörnquist Åstrand
225a6e45af catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:02 +00:00
Love Hörnquist Åstrand
ba8498ce09 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:47 +00:00
Love Hörnquist Åstrand
8b628c715f catch error from iterate_entries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:19 +00:00
Love Hörnquist Åstrand
9365904540 Catch hx509_certs_init() to fail.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:51 +00:00
Love Hörnquist Åstrand
4a57355c29 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:14:03 +00:00
Love Hörnquist Åstrand
23b92e0f89 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:13:31 +00:00
Love Hörnquist Åstrand
39ecfa21bd close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:13:12 +00:00
Love Hörnquist Åstrand
fa8b905e46 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:12:56 +00:00
Love Hörnquist Åstrand
f3fb4ac367 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:12:32 +00:00
Love Hörnquist Åstrand
66719e3277 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:12:03 +00:00
Love Hörnquist Åstrand
b1f885befe use rk_undumpdata, spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:34:53 +00:00
Love Hörnquist Åstrand
68948ac288 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-14 14:54:09 +00:00
Love Hörnquist Åstrand
bde1d0fe9c Break out print_eval_types().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-14 14:53:51 +00:00
Love Hörnquist Åstrand
f1157b67d7 can't do --self-signed and --request at the same time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-14 13:43:50 +00:00
Love Hörnquist Åstrand
8327309499 make it clear that ca --type can be used more then once.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-14 13:43:03 +00:00
Love Hörnquist Åstrand
58acbe046a Make cert types more dynamtic and provide help string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-14 13:42:15 +00:00
Love Hörnquist Åstrand
fcf5432599 bump version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-26 03:54:55 +00:00
Love Hörnquist Åstrand
75ea702745 new version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:30:31 +00:00
Love Hörnquist Åstrand
904d60736d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:24:27 +00:00
Love Hörnquist Åstrand
7eb3ad157f pass in time_now to unevelope
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:57 +00:00
Love Hörnquist Åstrand
9d452c8bd0 Pass in time_now to unevelope, us verify context time in verify_signed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:47 +00:00
Love Hörnquist Åstrand
cb61e8d474 drop time_now, its part of the verify context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:38 +00:00
Love Hörnquist Åstrand
ad1190f74d add _hx509_verify_get_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:26 +00:00
Love Hörnquist Åstrand
443b5aecf8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-23 15:04:36 +00:00
Love Hörnquist Åstrand
afe652bd26 Include <limits.h> for TYPE_MAX defines.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-23 15:04:27 +00:00
Love Hörnquist Åstrand
e543ec40b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-22 02:53:33 +00:00
Love Hörnquist Åstrand
e5c092a265 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-30 08:23:10 +00:00
Love Hörnquist Åstrand
9bca8b341f Use _hx509_sel_yyerror() instead of error_message().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-30 08:23:05 +00:00
Love Hörnquist Åstrand
1b34818d1e Move _hx509_sel_yyerror here.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-30 08:22:57 +00:00
Love Hörnquist Åstrand
5f7508dfc1 Use subject name as friendly name if there is no friendly name for certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-23 11:11:20 +00:00
Love Hörnquist Åstrand
3b87f26f0e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-21 11:18:20 +00:00
Love Hörnquist Åstrand
35680fc4f9 Include <config.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23065 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-21 11:18:14 +00:00
Love Hörnquist Åstrand
161deafd0f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:00:49 +00:00
Love Hörnquist Åstrand
8ccb49daf4 Update make-proto usage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:00:43 +00:00
Love Hörnquist Åstrand
21bfb354fa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:31:42 +00:00
Love Hörnquist Åstrand
319e7f1d57 BasicConstraints.pathLenConstraint unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:31:29 +00:00
Love Hörnquist Åstrand
4c34789202 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 13:09:34 +00:00
Love Hörnquist Åstrand
aa1fe2fa2c Prefix sel_error with _hx509_ since its global on platforms w/o symbol
versioning.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 13:09:28 +00:00
Love Hörnquist Åstrand
e156723039 More prototypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 13:09:23 +00:00