Commit Graph

3679 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
17e0e936a3 Revert "Use size_t where appropriate."
This reverts commit 5169642e08042c50ab86da9376d78bcb5b7cfce1.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 14:51:33 +00:00
Love Hörnquist Åstrand
4626bbd7e3 export krb5_scc_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:59 +00:00
Love Hörnquist Åstrand
ccd66600f5 Rename the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:14 +00:00
Love Hörnquist Åstrand
b07aeaac64 Name the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:56 +00:00
Love Hörnquist Åstrand
459b3f0a69 Drop krb5_pk_identity and rename constants to match global header.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:44 +00:00
Love Hörnquist Åstrand
a5301b2daa Include pkinit and include add krb5_pk_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:40 +00:00
Love Hörnquist Åstrand
eb4e9f87d1 (scc_alloc): %x is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:19 +00:00
Love Hörnquist Åstrand
92286b7303 Sort and add krb5_cc_switch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 20:17:49 +00:00
Love Hörnquist Åstrand
7a47e167d9 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:06 +00:00