Commit Graph

15096 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
faaa2e6d98 remove parameter names to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 14:41:47 +00:00
Love Hörnquist Åstrand
3a4c95a266 krb5_encrypt now takes a const, no need for casting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 12:41:37 +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
4c6f3aeaf3 If there are no addresses, print addressless instead of nothing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 03:27:19 +00:00
Love Hörnquist Åstrand
9c3a22671f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 02:21:53 +00:00
Love Hörnquist Åstrand
106c5e808e (doit): only cleaup for active sockets, passive does it own cleaning up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 02:21:25 +00:00
Love Hörnquist Åstrand
5e969ca2b3 fix unconst and shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 02:19:10 +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
72b81ba03d run AM_INIT_AUTOMAKE before AM_PROG_CC_C_O otherwise am_aux_dir will
be expanded using ac_aux_dir before the later is set.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 21:41:06 +00:00
Love Hörnquist Åstrand
0368c43187 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 21:05:46 +00:00
Love Hörnquist Åstrand
b69eeab4f7 check for strings.h explicitly instead of depending on AC_HEADER_STDC
to check it for us


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 19:09:00 +00:00
Love Hörnquist Åstrand
f5b60dd355 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:55:12 +00:00
Love Hörnquist Åstrand
cd4b0519ab Check a very simple format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:54:26 +00:00
Love Hörnquist Åstrand
7cb5f5ba32 revert previous until I've have cleaned libvers mess
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:11:00 +00:00
Love Hörnquist Åstrand
1f9633d2ea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:09:54 +00:00
Love Hörnquist Åstrand
5654000990 lower amount of shadow and const warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:06:50 +00:00
Love Hörnquist Åstrand
7da40a08e1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 21:52:34 +00:00
Love Hörnquist Åstrand
da49dbd58e rename optind to optidx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 21:52:04 +00:00
Love Hörnquist Åstrand
8297868729 make a copy of realm and admin_server to avoid un-consting
avoid shadowing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 21:51:07 +00:00
Love Hörnquist Åstrand
b37386a686 make a copy of realm and admin_server to avoid un-consting
avoid shadowing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 21:44:37 +00:00
Love Hörnquist Åstrand
143fc05055 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:56:59 +00:00
Love Hörnquist Åstrand
0ecc47dc71 (TTYinfo): only call tgetent if we found it using autoconf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:55:18 +00:00
Love Hörnquist Åstrand
68ab4175c6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:49:29 +00:00
Love Hörnquist Åstrand
421d2b645f don't include <version.h>, it forces unnecessary rebuilds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:48:57 +00:00
Love Hörnquist Åstrand
68b297f83d (change_entry): just use global context to avoid shadowing; make a
copy of realm and admin_server to avoid un-consting.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:44:48 +00:00
Love Hörnquist Åstrand
e0ce376387 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:31:53 +00:00
Love Hörnquist Åstrand
fc24c4d403 (parse_words): avoid const warnings by making a (shorter) copy of the
string instead of truncating it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:31:07 +00:00
Assar Westerlund
e59a9eb876 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:06:53 +00:00
Assar Westerlund
f8c9e2d1ed Do not assume that des_key_schedule is an array.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:06:19 +00:00
Assar Westerlund
8708a3218e add AM_PROG_CC_C_O for automake 1.9
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:47:51 +00:00
Love Hörnquist Åstrand
61576040e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:37 +00:00
Love Hörnquist Åstrand
728b9121c5 If we have <strings.h> include it, its needed for strcasecmp() on
those platforms that are SUS3/iso c99 strict (like AIX)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:17 +00:00
Love Hörnquist Åstrand
17a4ee956a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 18:45:31 +00:00
Love Hörnquist Åstrand
7e8d11f041 allow symbols to start with ., aix uses this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 18:41:32 +00:00
Love Hörnquist Åstrand
94f7001bc7 Document some com_err functions (still missing _r ones), contributed
to KTH by Gregory McGarry.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 18:35:41 +00:00
Love Hörnquist Åstrand
05945089f8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 15:09:41 +00:00
Love Hörnquist Åstrand
c2e41f5bdf Include <stdarg.h> for va_list to help AIX 5.2.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 14:58:07 +00:00
Love Hörnquist Åstrand
2b2f1bab65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:05:16 +00:00
Love Hörnquist Åstrand
00bf2bc852 remove duplicate ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:03:30 +00:00
Love Hörnquist Åstrand
b1d22e1f19 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 03:16:44 +00:00
Love Hörnquist Åstrand
a9212312c1 rk_strpoolprintf first variable identifier is 3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 07:09:16 +00:00
Love Hörnquist Åstrand
89eaa5bfd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:26:34 +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
9e219bcb5e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:04:30 +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