Commit Graph

567 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
be597a30dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 09:25:02 +00:00
Love Hörnquist Åstrand
a99e6303d5 Iterate over all slots, not just the first/selected one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-29 09:24:47 +00:00
Love Hörnquist Åstrand
7f6b59890e prototype for _hx509_cert_release_func
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:59:50 +00:00
Love Hörnquist Åstrand
046997bc17 Add release function for certifiates so backend knowns when its no
longer used.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:59:13 +00:00
Love Hörnquist Åstrand
4abe3b3bce Add reference counting on certifiates, push out CK_SESSION_HANDLE from slot.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 10:58:07 +00:00
Love Hörnquist Åstrand
8b2a7cf875 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 08:57:05 +00:00
Love Hörnquist Åstrand
2cd38a0e1a sprinkle more hx509_clear_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-27 08:55:00 +00:00
Love Hörnquist Åstrand
ca24df0e9d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-22 16:14:21 +00:00
Love Hörnquist Åstrand
ef9ea4272e Sprinkle some hx509_set_error_strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-22 16:14:07 +00:00
Love Hörnquist Åstrand
b0c4de9278 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:06:16 +00:00
Love Hörnquist Åstrand
1da0ea830b Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:58:18 +00:00
Love Hörnquist Åstrand
a848124aa0 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:51:59 +00:00
Love Hörnquist Åstrand
b00495b53b Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:37:47 +00:00
Love Hörnquist Åstrand
09f034b560 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:26:47 +00:00
Love Hörnquist Åstrand
d7b65da678 CKF_PROTECTED_AUTHENTICATION_PATH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 11:45:03 +00:00
Love Hörnquist Åstrand
f86b0321a6 Hidden field of prompter is removed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:14:50 +00:00
Love Hörnquist Åstrand
744eef1102 (hx509_prompt_hidden): reshuffle to avoid gcc warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:14:07 +00:00
Love Hörnquist Åstrand
69b7cec07b Reshuffle the prompter types, remove the hidden field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:13:18 +00:00
Love Hörnquist Åstrand
fc61c200df (hx509_prompt_hidden): return if the prompt should be hidden or not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 10:12:32 +00:00
Love Hörnquist Åstrand
1122885754 (hx509_revoke_free): allow free of NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:26:59 +00:00
Love Hörnquist Åstrand
ba77542a0e generate pkinit password protected file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-12 06:21:43 +00:00
Love Hörnquist Åstrand
2f50d37991 (file_init): Avoid shadowing ret (and thus avoiding crashing).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 11:22:50 +00:00
Love Hörnquist Åstrand
941e1779cb Implement DIR: caches useing FILE: caches.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 11:22:02 +00:00
Love Hörnquist Åstrand
0da37e5388 Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:11:51 +00:00
Love Hörnquist Åstrand
c0f2bd14d6 Catch more errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-11 07:05:39 +00:00
Love Hörnquist Åstrand
7533511758 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:34:59 +00:00
Love Hörnquist Åstrand
64bc25c77b (hx509_crypto_encrypt): free correctly in error path. From Andrew Bartlett.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 20:34:48 +00:00
Love Hörnquist Åstrand
76393e42c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 17:54:58 +00:00
Love Hörnquist Åstrand
3de0915340 If RAND_bytes fails, then we will attempt to double-free crypt->key.data.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 16:46:31 +00:00
Love Hörnquist Åstrand
1d8bb73fcf DH and RSA method names are renamed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-07 11:59:30 +00:00
Love Hörnquist Åstrand
cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
6c25b55ad5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:29:43 +00:00
Love Hörnquist Åstrand
dfce592b3e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:41:18 +00:00
Love Hörnquist Åstrand
caf62477c9 More to do about the about the PKCS11 code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:40:59 +00:00
Love Hörnquist Åstrand
aaeb02de1b Use the prompter from the lock function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:40:09 +00:00
Love Hörnquist Åstrand
12349fd46a Deal with that hx509_prompt.reply is no longer a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:39:11 +00:00
Love Hörnquist Åstrand
775dc15b9b Make hx509_prompt.reply not a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 16:38:32 +00:00
Love Hörnquist Åstrand
04d64278a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 14:06:21 +00:00
Love Hörnquist Åstrand
5eb2dd8d17 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 11:05:29 +00:00
Love Hörnquist Åstrand
a6fdb2b939 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 10:40:53 +00:00
Love Hörnquist Åstrand
7b967d0631 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 10:31:05 +00:00
Love Hörnquist Åstrand
5c7666a679 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-02 07:37:00 +00:00
Love Hörnquist Åstrand
71fb6ad0e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:30:53 +00:00
Love Hörnquist Åstrand
701e7c5038 renamed one error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:28:14 +00:00
Love Hörnquist Åstrand
8f6bef250c _hx509_set_cert_attribute changed signature
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:27:18 +00:00
Love Hörnquist Åstrand
568ccdeebe (pcert_print): use hx509_err so I can test it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:26:19 +00:00
Love Hörnquist Åstrand
eb4b4f87c2 (hx509_set_error_stringv): clear errors on malloc failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:25:46 +00:00
Love Hörnquist Åstrand
7094fb5da1 Add some more errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:25:15 +00:00
Love Hörnquist Åstrand
e6b5883e02 Sprinkle setting error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:24:51 +00:00
Love Hörnquist Åstrand
0e0680efba _hx509_path_append changed signature.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:17:18 +00:00