Commit Graph

3688 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d542833a1f use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:26:18 +00:00
Love Hörnquist Åstrand
cec3f10ef0 use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:58 +00:00
Love Hörnquist Åstrand
d23858caf2 Use krb5_set_error_message(), drop unused functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:46 +00:00
Love Hörnquist Åstrand
06e2c6e17e Doxygen, deprecate krb5_change_password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:36 +00:00
Love Hörnquist Åstrand
a197d33362 switch to krb5_set_password().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:18 +00:00
Love Hörnquist Åstrand
e9639f8fbc HEIMDAL_SMALLER includes no v4 compat functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:08 +00:00
Love Hörnquist Åstrand
854ef9a202 switch to krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:00 +00:00
Love Hörnquist Åstrand
4a3e5bf152 Remove error_buf, add error_code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:24:46 +00:00
Love Hörnquist Åstrand
7629345563 pass time time now to hx509_cms_unenvelope
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:24:35 +00:00
Love Hörnquist Åstrand
1bf90f0016 (krb5_set_real_time): handle negative usec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-21 15:22:37 +00:00
Love Hörnquist Åstrand
79df2904b3 Add <wind.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:26:43 +00:00
Love Hörnquist Åstrand
b127d90367 use offset to go over the array.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:26:24 +00:00
Love Hörnquist Åstrand
e9662cad42 Use wind_utf8ucs2_length to convert the password to utf16.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:26:08 +00:00
Love Hörnquist Åstrand
a4975b1602 add libwind.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:25:53 +00:00
Love Hörnquist Åstrand
093b99ac18 Add back krb5_kcmcache argument to try_door().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-31 08:15:09 +00:00
Love Hörnquist Åstrand
5e654ca82f make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:13:41 +00:00
Love Hörnquist Åstrand
a4de25665b Free error message with krb5_free_error_message().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:13:26 +00:00
Love Hörnquist Åstrand
577ff0f5c0 Use krb5_get_error_message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:13:11 +00:00
Love Hörnquist Åstrand
7f9e3a7256 (krb5_free_error_message): unconst to avoid warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:56 +00:00
Love Hörnquist Åstrand
3dbe9c96df (krb5_free_error_message): constify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:42 +00:00
Love Hörnquist Åstrand
286895a962 Add krb5_get_error_message().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:10:50 +00:00
Love Hörnquist Åstrand
71774397a8 krb5_cc_new_unique() is name of the creation function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:10:19 +00:00
Love Hörnquist Åstrand
af065bb9b8 Use DES_set_key_unchecked().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-29 05:47:08 +00:00
Love Hörnquist Åstrand
893cb35381 Document default_cc_type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 18:01:53 +00:00
Love Hörnquist Åstrand
034744160a Pick up [libdefaults]default_cc_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 18:01:46 +00:00
Björn Sandell
58d9109595 Clarify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 10:56:32 +00:00
Björn Sandell
d43a2bc1af A few words on digests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-28 10:55:49 +00:00
Björn Sandell
860a96e752 mdoc fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 19:32:33 +00:00
Love Hörnquist Åstrand
3b7ff465c1 Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:02:03 +00:00
Love Hörnquist Åstrand
806b6c3d7a Update make-proto usage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:00:36 +00:00
Love Hörnquist Åstrand
46cdc86e6f Don't print krb5_error_code since we are using krb5_err().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:36:35 +00:00
Love Hörnquist Åstrand
dac3a0a031 Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:30 +00:00
Love Hörnquist Åstrand
adeccfb453 Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:25 +00:00
Love Hörnquist Åstrand
3e739f8ba4 Cast enum to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:21 +00:00
Love Hörnquist Åstrand
bb3c231225 Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:16 +00:00
Love Hörnquist Åstrand
4212ec831b Cast size_t to unsigned long to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:12 +00:00
Love Hörnquist Åstrand
35f21109ee Cast krb5_error_code to int to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:09 +00:00
Love Hörnquist Åstrand
156b2c77e8 Make num_entries an uint32 to avoid negative numbers and type warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:01 +00:00
Love Hörnquist Åstrand
96ece475a2 get_version returns an int, update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:57 +00:00
Love Hörnquist Åstrand
cc1564ec41 use struct for AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:23 +00:00
Love Hörnquist Åstrand
7b1fad970e add AlgorithmIdentifier for glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 06:26:55 +00:00
Love Hörnquist Åstrand
63181bbae8 sort and export _krb5_pk_kdf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:34 +00:00
Love Hörnquist Åstrand
8e6f72fb92 Check kdf params. calculate the second half of the key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:24 +00:00
Love Hörnquist Åstrand
122f00f53b correct second half of key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:19 +00:00
Love Hörnquist Åstrand
48c1854a75 Comment testcase[0]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:14 +00:00
Love Hörnquist Åstrand
b0bd2f7866 (_krb5_pk_kdf): Check that is sha1 we are using.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:10 +00:00
Love Hörnquist Åstrand
49ac4e17fc Add test_pknistkdf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:07:01 +00:00
Love Hörnquist Åstrand
50edb1b440 Test the new pkinit nist kdf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:52 +00:00
Love Hörnquist Åstrand
bf33685d7e Complete _krb5_pk_kdf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:35 +00:00
Love Hörnquist Åstrand
05422a8a8a First version of KDF in draft-ietf-krb-wg-pkinit-alg-agility-03.txt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-09 13:06:25 +00:00