Ezra Peisach [Thu, 21 Jun 2001 18:12:51 +0000 (18:12 +0000)]
* ftpd.c: If NEED_SETENV defined, prototype for setenv
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13460
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 18:04:35 +0000 (18:04 +0000)]
* main.c: Add prototype for daemon if needed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13459
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 18:02:57 +0000 (18:02 +0000)]
* ovsec_kadmd.c: Add prototype for daemon if needed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13458
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 18:02:21 +0000 (18:02 +0000)]
* configure.in: Test system header files for daemon prototype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13457
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 17:53:27 +0000 (17:53 +0000)]
* configure.in: Test for daemon prototype
* main.c: Provide daemon prototype if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13456
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 17:51:20 +0000 (17:51 +0000)]
* configure.in: Test need for daemon prototype
* krb524d.c: Provide daemon prototype if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13455
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 17:31:08 +0000 (17:31 +0000)]
* configure.in: Test if prototypes needed for setenv and unsetenv
* ext.h: Provide prototypes for unsetenv and setenv if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13454
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 17:29:21 +0000 (17:29 +0000)]
* configure.in: Use optional argument to KRB5_NEED_PROTO so test
for swab existance removed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13453
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 17:28:26 +0000 (17:28 +0000)]
* configure.in: Check for daemon() prototype
* kpropd.c: Provide prototype if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13452
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 17:25:58 +0000 (17:25 +0000)]
* aclocal.m4 (KRB5_LIB_PARAMS): Display test for host type and
result so that "cached" is not simply output from configure.
(KRB5_NEED_PROTO): Add optional third argument, which if set means
to test for prototype even if configure script does not test for
function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13451
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 14:25:10 +0000 (14:25 +0000)]
* main.c (get_params): Change optind to optindex to prevent
shadowing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13450
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:47:55 +0000 (13:47 +0000)]
* kerberos5.c: Add prototype for rd_and_store_for_creds()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13449
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:47:15 +0000 (13:47 +0000)]
* ftpd.c: Include gssapi/gssapi_krb5.h for gss_krb5_copy_ccache
prototype. Provide prototype for yyparse.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13448
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:46:51 +0000 (13:46 +0000)]
* login.c (read_env_vars_from_file: Only define if
/etc/environment or /etc/timezone exists on machine.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13447
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:46:15 +0000 (13:46 +0000)]
* kdc_preauth.c: Include prototypes for mit_des_fixup_key_parity
and mit_des_is_weak_key here as no other "public" header file
defines it. Needed for return_sam_data() code.
* configure.in: Test for unistd.h and existance of swab() prototype.
* kerberos_v4.c: If swab() prototype needed, provide.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13446
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:44:04 +0000 (13:44 +0000)]
* admin_internal.h (_KADM5_CHECK_HANDLE): Change code to ecode
in blocked statement to prevent shadowing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13445
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:42:41 +0000 (13:42 +0000)]
* t_nfold.c (main): Cast argument to printf to be consistant
with format.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13444
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:42:06 +0000 (13:42 +0000)]
* t_shs.c: Cast arguments to match printf format. Declare main
as returning int. Comment out unused variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13443
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:41:42 +0000 (13:41 +0000)]
* t_verify.c: Get rid of global variables i,j
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13442
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:41:21 +0000 (13:41 +0000)]
* verify.c (do_decrypt, do_encrypt): Cast argument to
des_ecb_encrypt to unsigned long *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13441
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:41:03 +0000 (13:41 +0000)]
* t_std_conf.c (test_locate_kdc): Get rid of unused variable
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13440
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:40:49 +0000 (13:40 +0000)]
* chk_trans.c: Cast length arguments of %.*s in formats to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13439
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:39:26 +0000 (13:39 +0000)]
* error_message.c (error_message): Conditional label on _sgi so
gcc does not warn about being defined and not used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13438
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 21 Jun 2001 13:39:10 +0000 (13:39 +0000)]
* btree/bt_delete.c, btree/bt_put.c, recno/rec_delete.c,
recno/rec_put.c: Change local variable index to idx.
* hash/hash_page.c: Change local variable stat to status to
prevent shadowing system function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13437
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 21 Jun 2001 03:46:13 +0000 (03:46 +0000)]
oops, missed a change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13428
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 21 Jun 2001 03:44:16 +0000 (03:44 +0000)]
* logger.c (krb5_klog_init) [HAVE_SYSLOG]: Loop over an array of syslog
facility names rather than open-coding each check. Add "authpriv" and "ftp"
names.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13427
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 21 Jun 2001 03:18:25 +0000 (03:18 +0000)]
fix salt length for afs case
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13426
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 21 Jun 2001 03:09:54 +0000 (03:09 +0000)]
delete some unnecessary casts
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13425
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 21 Jun 2001 03:03:51 +0000 (03:03 +0000)]
delete log entry for change i forgot to check in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13424
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 20 Jun 2001 23:00:36 +0000 (23:00 +0000)]
* rc_dfl.c, rc_io.c: More compliance with coding standards: use
ANSI function declarations, use curly braces to fix up #ifdef
reindenting under Emacs, reindent code, strip trailing whitespace,
wrap lines, fix commans. Not finished: fix indenting of curly
braces in control structures.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13423
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 17:53:07 +0000 (17:53 +0000)]
* kcmd.c: Get rid of prototypes for krb5_write_message(),
krb5_net_write(), and krb5_net_read(). They are in krb5.h now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13422
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 17:51:03 +0000 (17:51 +0000)]
* krb5.hin: Move prototypes for krb5_net_read() and
krb5_net_write() here.
* k5-int.h: From here.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13421
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 17:31:57 +0000 (17:31 +0000)]
* acquire_cred.c (acquire_init_cred): Include "k5-int.h" for
krb5int-cc_default() prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13420
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 17:26:56 +0000 (17:26 +0000)]
* server_internal.h: Add prototype for kdb_iter_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13419
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 17:20:46 +0000 (17:20 +0000)]
* kname_parse.c (k_isrealm, k_isname, k_isrealm): Add
KRB5_DLLIMP/KRB5_CALLCONV definitions for function with exported
prototype in krb.h.
* g_cnffile.c (krb__get_srvtabname, krb__v5_get_file): Declare
argument as const.
* g_svc_in_tkt.c, put_svc_key.c, rd_req.c, rd_svc_key.c: Get rid
of krb__get_srvtabname() prototype - in krb.h now.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13418
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 17:20:26 +0000 (17:20 +0000)]
* krb.h: Add prototype for krb__get_srvtabname() which is invoked
in place of KEYFILE.
Add prototypes for krb_kntoln(), k_isinst(), k_isname(), k_isrealm().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13417
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 14:20:42 +0000 (14:20 +0000)]
Fix small stylistic typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13416
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 14:19:30 +0000 (14:19 +0000)]
* krb524d.c: Include <krb5/adm_proto.h> for krb5_log_init()
prototype.
(cleanup_and_exit) Conditionalize krb5_kt_close on keytab being
non-null.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13415
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 14:17:01 +0000 (14:17 +0000)]
* krb524d.c: Include <krb5/adm_proto.h> for krb5_log_init()
prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13414
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 14:15:33 +0000 (14:15 +0000)]
* kdb5_create.c: Include <krb5/adm_proto.h> for
krb5_keysalt_iterate() prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13413
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 14:09:33 +0000 (14:09 +0000)]
* t_std_conf.c (test_locate_kdc): Update to new krb5_locate_kdc
interface.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13412
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 20 Jun 2001 11:24:40 +0000 (11:24 +0000)]
* Makefile.in (check-unix): Add $(RUN_SETUP) before invocation of
transit-tests for shared library environment variables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13411
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 05:01:37 +0000 (05:01 +0000)]
Fixed several typos in comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13399
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 05:00:19 +0000 (05:00 +0000)]
Fixed a bunch of typos
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13398
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 20 Jun 2001 04:07:43 +0000 (04:07 +0000)]
New implementation of transited-realm checking, with some test cases. The test
cases currently check only t-r list expansion, not the validation step.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13397
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 04:06:14 +0000 (04:06 +0000)]
* api.0/init.exp: Silly typo fixed
* api.2/init.exp: Same silly typo fixed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13396
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 04:01:59 +0000 (04:01 +0000)]
* server_dict.c: Silly typo fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13395
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 03:58:06 +0000 (03:58 +0000)]
* krb524d.c: Call krb5_klog_init before the first point where the
klog facility may be used, delete ifdef'd out code to make that
call from later in the file, conditionalize kadm5_destroy on the
handle being non-null, and correct an indentation error.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13394
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 03:47:06 +0000 (03:47 +0000)]
* design.tex: Silly typo fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13393
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 20 Jun 2001 03:45:17 +0000 (03:45 +0000)]
handle irix high-numbered error codes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13392
dc483132-0cff-0310-8789-
dd5450dbe970
Mitchell Berger [Wed, 20 Jun 2001 03:44:12 +0000 (03:44 +0000)]
* krb5.tex: Silly typo fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13391
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 20 Jun 2001 00:00:05 +0000 (00:00 +0000)]
Use a "struct addrlist" instead of separate count and pointer-to-pointer values
for internal interfaces for looking up servers. Add a new routine to free the
addrlist contents, so that memory management can be changed in one place.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13390
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 19 Jun 2001 20:32:12 +0000 (20:32 +0000)]
* kdc_util.c (ktypes2str): New function; construct a string
containing a list of enctypes, given a number and list of
enctypes.
(rep_etypes2str): New function; construct a string indicating all
three enctypes associated with a KDC reply.
* kdc_util.h: Add prototypes for ktypes2str() and
rep_etypes2str().
* do_as_req.c (process_as_req): Call ktypes2str() and
rep_etypes2str() as appropriate.
* do_tgs_req.c (process_tgs_req): Call ktypes2str() and
rep_etypes2str() as appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13389
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 19 Jun 2001 17:43:43 +0000 (17:43 +0000)]
* ftpcmd.y: Cleanup potential ambiguity between comparsion and
pre-increment for a variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 19 Jun 2001 17:37:31 +0000 (17:37 +0000)]
pmap_prot2.c (xdr_pmaplist): Ensure variable set before use
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13387
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 19 Jun 2001 17:36:41 +0000 (17:36 +0000)]
* utility.c (printsub): Ensure variable set before use
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13386
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 19 Jun 2001 17:36:30 +0000 (17:36 +0000)]
telnet.c (telrcv): Ensure variable set before use
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 20:27:09 +0000 (20:27 +0000)]
* encrypt.c (encrypt_is): Cast arguments to printf to match format
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13384
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 20:26:06 +0000 (20:26 +0000)]
* dump.c (name_matches): Cleanup warning of assignments in
conditionals.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13383
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:20:42 +0000 (19:20 +0000)]
* utility.c (printdata): Cast argument to isprint() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13382
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:19:46 +0000 (19:19 +0000)]
* commands.c: Cast argument to isspace() to int
* telnet.c (mklist): Cast argument to islower()/toupper() to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13381
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:17:09 +0000 (19:17 +0000)]
* genget.c (LOWER): Cast argument to isupper()/tolower() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13380
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:15:57 +0000 (19:15 +0000)]
* gss-client.c (parse_oid): Cast argument to isdigit() to int
* gss-server.c (sign_server): Cast argument to isspace() to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13379
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:11:35 +0000 (19:11 +0000)]
* krcp.c (sink): Cast argument to isdigit() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13378
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:09:59 +0000 (19:09 +0000)]
* sim_client.c (main): Cast argument to isupper()/tolower() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13377
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:08:42 +0000 (19:08 +0000)]
* kpropd.c (authorized_principal): Cast argument to ispace() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13376
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:07:22 +0000 (19:07 +0000)]
* kadm_funcs.c: Cast argument to isalnum()/isdigit() to int
* acl_files.c (nuke_whitespace): Cast argument to isspace() to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13375
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:04:43 +0000 (19:04 +0000)]
* ktutil_funcs.c (ktutil_add): Cast argument to isxdigit() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13374
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 19:03:31 +0000 (19:03 +0000)]
* getdate.y: Cast argument to isalpha()/isspace()/isdigit() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13373
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:58:55 +0000 (18:58 +0000)]
* network.c (setup_network): Cast argument to isspace() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13372
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:58:00 +0000 (18:58 +0000)]
* server_misc.c (passwd_check): cast argument to
islower()/isupper(), isdigit(), ispunct() to int.
* server_acl.c (acl_parse_line): Cast argument to
isupper()/isspace() to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13371
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:54:55 +0000 (18:54 +0000)]
* alt_prof.c (krb5_read_realm_params): Cast argument to isspace()
to int.
* logger.c (krb5_klog_init): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13370
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:52:04 +0000 (18:52 +0000)]
* kparse.c (strutol): Cast argument to isupper()/tolower() to int.
* realmofhost.c (krb_realmofhost): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13369
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:50:23 +0000 (18:50 +0000)]
* kparse.c (strutol): Cast argument to isupper()/tolower() to int
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13368
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:28:55 +0000 (18:28 +0000)]
* dump.c: Include regex.h if exists and if HAVE_REGCOMP
defined. Preior to this, regex.h was never included.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13367
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:26:03 +0000 (18:26 +0000)]
* configure.in: Check for regex.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13366
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 18:25:22 +0000 (18:25 +0000)]
* acconfig.h: Add HAVE_REGCOMP
* aclocal.m4 (KRB5_AC_NEED_LIBGEN): Determins if libgen is really
needed to be linked with executables by determining if regcomp()
is missing or non-functionl and then if compile/step will be used.
(KRB5_AC_REGEX_FUNCS): Rewritten to require KRB5_AC_NEED_LIBGEN.
(KRB5_BUILD_PROGRAM): Use KRB5_AC_NEED_LIBGEN instead of testing
for compile in libgen.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13365
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 17:08:24 +0000 (17:08 +0000)]
* pre.in (KADM_COMM_DEPLIBS): Depend on GSSRPC_DEPLIBS and not
UTIL_DEPLIB. (KADMSRC_DEPLIBS) add dependency on KDB5_DEPLIB.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13364
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 14:13:16 +0000 (14:13 +0000)]
* main.c (main): Cast arguments to print_status to be consitant
with format string.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13363
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 14:11:34 +0000 (14:11 +0000)]
* loginpaths.h: If _PATH_DEFPATH is defined, undefine LPATH and
RPATH before redefining.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13362
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 14:10:36 +0000 (14:10 +0000)]
* auth_gssapi.c (auth_gssapi_create): Cast const gss_OID to
gss_OID for gssapi functions.
* xdr.c (xdr_u_int, xdr_int32, xdr_u_int32): If enumerated
operation is not XDR_ENCODE, XDR_DECODE or XDR_FREE - return FALSE
instead falling off end of function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13361
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 14:04:38 +0000 (14:04 +0000)]
* accept_sec_context.c acquire_cred.c import_sec_context.c
init_sec_context.c inq_cred.c: Cast const gss_OID to gss_OID for
gssapi functions which are not speced with const in the RFC.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13360
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 13:59:48 +0000 (13:59 +0000)]
* client_init.c (_kadm5_init_any): Add casts to (gss_OID) in calls
to gss library.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13359
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 13:58:11 +0000 (13:58 +0000)]
* g_pw_in_tkt.c: Include krb5.h so that des_read_password()
prototype is present in des.h. Cast argument to des_read_password.
* getst.c, put_svc_key.c, rd_svc_key.c, save_creds.c, tf_util.c:
Include krb4int.h for prototypes.
* krb4int.h: New file containing private prototypes for krb4
functions not used outside the library. Contains getst() and
tf_save_cred().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13358
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 18 Jun 2001 01:44:03 +0000 (01:44 +0000)]
* logger.c (klog_vsyslog): If krb5_klog_init() is not called, do
not pass a NULL pointer to vsprintf for a %s format. Also, if
syslog() exists on the system, fallback to using this so the
message is not dropped on the floor.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13357
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 17 Jun 2001 14:45:18 +0000 (14:45 +0000)]
v4krb524d.exp: New tests for the krb524d and k524init programs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13356
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 17 Jun 2001 14:43:42 +0000 (14:43 +0000)]
* default.exp: Add an entry for krb524_server for the localhost
with a non-standard port number.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13355
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 16 Jun 2001 09:28:08 +0000 (09:28 +0000)]
* fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from tgt
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13354
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 16 Jun 2001 02:24:12 +0000 (02:24 +0000)]
updated
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13353
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 16 Jun 2001 02:23:46 +0000 (02:23 +0000)]
getsyms: Fix quoting around find command looking for configure.in files; sort list
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13352
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 15 Jun 2001 19:13:44 +0000 (19:13 +0000)]
* ftpcmd.y, ftpd.c: Cast argument to isspace()/isdigit() to int
* secure.h (SESSION): Pass pointer to C_Block as expected by
krb5_mk_priv().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13351
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 15 Jun 2001 18:58:55 +0000 (18:58 +0000)]
* cmds.c, domacro.c: Cast arguments to isspace() and isdigit()
from char to int.
* ftp.c: krb5_mk_priv(), krb5_mk_safe() expect C_Block *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13350
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 15 Jun 2001 06:10:32 +0000 (06:10 +0000)]
update profile section name in comments to reflect reality and other docs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13349
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 12 Jun 2001 21:50:23 +0000 (21:50 +0000)]
* resolve.c (main): Make error message note that misconfiguration
of /etc/hosts, as well as problems with resolver library, are all
likely to cause failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13343
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 12 Jun 2001 15:14:49 +0000 (15:14 +0000)]
* destest.c: main returns int instead of void. Add "const" to
casts in calls to mit_des_cbc_encrypt().
* t_verify.c (main): Add parenthesis aroud assignment in conditional.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13342
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 12 Jun 2001 15:14:32 +0000 (15:14 +0000)]
* t_mddriver.c: Cleanup assignments in conditionals w/o parentheses.
Add parenthesis abount structure initializers.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13341
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 12 Jun 2001 15:02:34 +0000 (15:02 +0000)]
* Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries
for these test executables.
* srv_rcache.c (krb5_get_server_rcache): Cast argument to
isgraph() to int.
* init_ctx.c: Cast arguments to isspace() to int. If unix is defined,
include ../krb5_libinit.h. There has to be a better was for windows.
* conv_princ.c (krb5_425_conv_principal): Cast argument to isupper().
to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13340
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 12 Jun 2001 15:01:57 +0000 (15:01 +0000)]
* sn2princ.c, hst_realm.c, an_to_ln.c: Cast argument to
isupper()/isspace()/islower() to int.
* t_std_conf.c (test_locate_kdc): krb5_locate_kdc expects a struct
sockaddr *** as a third argument instead of sockaddr **.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13339
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 12 Jun 2001 15:00:40 +0000 (15:00 +0000)]
* asn1_k_decode.c (asn1_decode_predicted_sam_response): Use
asn1_decode_charstring() instead of asn1_decode_octetstring() to
decode krb5_data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13338
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 11 Jun 2001 22:52:57 +0000 (22:52 +0000)]
* test_profile.c: Include <string.h> for strcmp() prototype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13337
dc483132-0cff-0310-8789-
dd5450dbe970