Commit Graph

3020 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
237641e2ca update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:08:07 +00:00
Love Hörnquist Åstrand
f1542ef9cd (fkt_start_seq_get_int): check return value from krb5_storage_from_fd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:29 +00:00
Love Hörnquist Åstrand
88be64c770 (pk_rd_pa_reply_dh): client do not contribute to the DH when the
server doesn't support the cached DH request.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:31:22 +00:00
Love Hörnquist Åstrand
cba53a17f2 (_krb5_pk_octetstring2key): fix arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:29:52 +00:00
Love Hörnquist Åstrand
23dae960cd clean up pk-init DH support, not finished yet;
improve error reporting


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:39:51 +00:00
Love Hörnquist Åstrand
a70cf1c3a6 (_krb5_pk_octetstring2key): string2key function used in pk-init-25
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:34:47 +00:00
Love Hörnquist Åstrand
85b3e3de27 comment out paramenter name in typedef functions to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 14:47:21 +00:00
Love Hörnquist Åstrand
3283e2cb08 make input data to krb5_encrypt{,_ivec} const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 12:33:36 +00:00
Love Hörnquist Åstrand
5fdbeb4408 (TESTS): add test_crypto_wrapping
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:36:25 +00:00
Love Hörnquist Åstrand
1f25cc530f (wrapped_length): the underived encrypted types checksum are all
unkeyed (matches the code in encrypt_internal() and
encrypt_internal_special())


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:35:31 +00:00
Love Hörnquist Åstrand
ce99b902fb ETYPE_ARCFOUR_HMAC_MD5_56 isn't not supported
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:31:43 +00:00
Love Hörnquist Åstrand
09d3315e85 test encryption wrapping
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 22:27:41 +00:00
Love Hörnquist Åstrand
c69ac762f9 (time_encryption): free cleartext buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 22:17:33 +00:00
Love Hörnquist Åstrand
3625ef3caa (krb5_kt_get_entry): clear error string when returning a new error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:14:42 +00:00
Love Hörnquist Åstrand
901add3df7 krb5_kt_close frees all resources, even on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:02:48 +00:00
Love Hörnquist Åstrand
267661730c update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:00:29 +00:00
Love Hörnquist Åstrand
05e1bb8d35 clarify that krb5_kt_close frees all resources, even on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 00:58:25 +00:00
Love Hörnquist Åstrand
5081addd90 (krb5_verify_init_creds): `entry' unused, remove
From: "Henry B. Hotz" <hotz@jpl.nasa.gov>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 00:48:16 +00:00
Love Hörnquist Åstrand
e13a796976 Spelling, from David Love
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 19:44:36 +00:00
Love Hörnquist Åstrand
43e3b9ca50 add krb5_425_conv_principal_ext2 that work just like
krb5_425_conv_principal_ext but takes a context variable for the
verification function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:38:15 +00:00
Love Hörnquist Åstrand
1dcdb9c1a0 optionally compile in support for string2key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 22:20:33 +00:00
Love Hörnquist Åstrand
b1f75c5100 Documentation for password quality control. From: "James F. Hranicky" <jfh@cise.ufl.edu>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 18:43:34 +00:00
Love Hörnquist Åstrand
75ba24459a (password_quality_entries): add min_length and min_classes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 18:33:28 +00:00
Love Hörnquist Åstrand
c3ca297275 indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 07:49:33 +00:00
Love Hörnquist Åstrand
4372de7bb8 (krb5_rd_rep): check if KRB5_AUTH_CONTEXT_DO_TIME set and use that as
a que that timestamp should be checked, DCE-STYLE gssapi needs to be
able to tweek this


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 07:47:16 +00:00
Love Hörnquist Åstrand
85588d6046 (krb5_string_to_key): unconst password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 05:03:45 +00:00
Love Hörnquist Åstrand
348ee32e90 (krb5_keytab_key_proc): unconst argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:56:44 +00:00
Love Hörnquist Åstrand
8c1cb200c7 rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:54:40 +00:00
Love Hörnquist Åstrand
e6f9987ade rename the temporary string variable to `str'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:53:35 +00:00
Love Hörnquist Åstrand
583e4fad3e rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:48:02 +00:00
Love Hörnquist Åstrand
4a78962ece unconst argument to krb5_store (XXX this should be fixed, krb5_store
doesn't need to modify its argument)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:36:33 +00:00
Love Hörnquist Åstrand
dffa265ac7 (krb5_sendto): remove shadowing unnessecery variable ret
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:33:11 +00:00
Love Hörnquist Åstrand
dcf2713a1d (krb5_rd_cred): remove shadowing unnessecery variable len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:31:48 +00:00
Love Hörnquist Åstrand
5a58b0ae6d rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:29:41 +00:00
Love Hörnquist Åstrand
5299cdcaf3 rename variable index to idx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:28:35 +00:00
Love Hörnquist Åstrand
7ab97d06cc rename variable time to timestr to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:25:05 +00:00
Love Hörnquist Åstrand
ab5d515651 (krb5_krbhst_init_flags): rename variable to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:23:26 +00:00
Love Hörnquist Åstrand
d7abacbd8c rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:21:47 +00:00
Love Hörnquist Åstrand
4905d2df94 unconst argumen to connect, unconst argument to krb5_store (XXX this
should be fixed, krb5_store doesn't need to modify its argument)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:20:11 +00:00
Love Hörnquist Åstrand
7b778a173b (default_s2k_func): unconst password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:15:20 +00:00
Love Hörnquist Åstrand
552b026c14 remove cast that to avoid dropping const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 22:57:14 +00:00
Love Hörnquist Åstrand
d83bcde1e8 rename `encrypt' to avoid shadow warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 22:54:33 +00:00
Love Hörnquist Åstrand
ac94b1f03b rename index to idx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 21:16:59 +00:00
Love Hörnquist Åstrand
b1efe15c20 use rk_UNCONST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 21:16:40 +00:00
Love Hörnquist Åstrand
c3579d1f6c rename to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:25:20 +00:00
Love Hörnquist Åstrand
70aae422eb (_krb5_expand_default_cc_name): just copy the string instead of losing const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:19:57 +00:00
Love Hörnquist Åstrand
31a2c01297 use rk_UNCONST to silence const warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:16:12 +00:00
Love Hörnquist Åstrand
38f3241d93 rename sin to sin4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 20:10:34 +00:00
Love Hörnquist Åstrand
2679e4770f use HAVE_DLOPEN around cc_handle
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 19:32:44 +00:00
Love Hörnquist Åstrand
b251409222 (_krb5_expand_default_cc_name): replace strndup with inline copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-15 11:18:16 +00:00