summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: Check for daemon() prototypeEzra Peisach2001-06-213-0/+11
| | | | | | * kpropd.c: Provide prototype if needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13452 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_PARAMS): Display test for host type andEzra Peisach2001-06-212-4/+17
| | | | | | | | | 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
* * main.c (get_params): Change optind to optindex to preventEzra Peisach2001-06-212-6/+11
| | | | | | shadowing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13450 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos5.c: Add prototype for rd_and_store_for_creds()Ezra Peisach2001-06-212-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13449 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Include gssapi/gssapi_krb5.h for gss_krb5_copy_ccacheEzra Peisach2001-06-212-0/+7
| | | | | | prototype. Provide prototype for yyparse. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13448 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (read_env_vars_from_file: Only define ifEzra Peisach2001-06-212-0/+7
| | | | | | /etc/environment or /etc/timezone exists on machine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13447 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c: Include prototypes for mit_des_fixup_key_parityEzra Peisach2001-06-214-2/+30
| | | | | | | | | | | 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
* * admin_internal.h (_KADM5_CHECK_HANDLE): Change code to ecodeEzra Peisach2001-06-212-2/+6
| | | | | | in blocked statement to prevent shadowing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13445 dc483132-0cff-0310-8789-dd5450dbe970
* * t_nfold.c (main): Cast argument to printf to be consistantEzra Peisach2001-06-212-1/+6
| | | | | | with format. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13444 dc483132-0cff-0310-8789-dd5450dbe970
* * t_shs.c: Cast arguments to match printf format. Declare mainEzra Peisach2001-06-212-2/+10
| | | | | | as returning int. Comment out unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13443 dc483132-0cff-0310-8789-dd5450dbe970
* * t_verify.c: Get rid of global variables i,jEzra Peisach2001-06-212-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13442 dc483132-0cff-0310-8789-dd5450dbe970
* * verify.c (do_decrypt, do_encrypt): Cast argument toEzra Peisach2001-06-212-2/+7
| | | | | | des_ecb_encrypt to unsigned long *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13441 dc483132-0cff-0310-8789-dd5450dbe970
* * t_std_conf.c (test_locate_kdc): Get rid of unused variableEzra Peisach2001-06-212-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13440 dc483132-0cff-0310-8789-dd5450dbe970
* * chk_trans.c: Cast length arguments of %.*s in formats to intEzra Peisach2001-06-212-8/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13439 dc483132-0cff-0310-8789-dd5450dbe970
* * error_message.c (error_message): Conditional label on _sgi soEzra Peisach2001-06-212-0/+7
| | | | | | 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
* * btree/bt_delete.c, btree/bt_put.c, recno/rec_delete.c,Ezra Peisach2001-06-216-68/+76
| | | | | | | | | 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
* oops, missed a changeKen Raeburn2001-06-211-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13428 dc483132-0cff-0310-8789-dd5450dbe970
* * logger.c (krb5_klog_init) [HAVE_SYSLOG]: Loop over an array of syslogKen Raeburn2001-06-212-51/+44
| | | | | | | 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
* fix salt length for afs caseKen Raeburn2001-06-212-10/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13426 dc483132-0cff-0310-8789-dd5450dbe970
* delete some unnecessary castsKen Raeburn2001-06-213-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13425 dc483132-0cff-0310-8789-dd5450dbe970
* delete log entry for change i forgot to check inKen Raeburn2001-06-211-2/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13424 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_dfl.c, rc_io.c: More compliance with coding standards: useDanilo Almeida2001-06-203-425/+406
| | | | | | | | | 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
* * kcmd.c: Get rid of prototypes for krb5_write_message(),Ezra Peisach2001-06-202-6/+5
| | | | | | 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
* * krb5.hin: Move prototypes for krb5_net_read() andEzra Peisach2001-06-203-2/+8
| | | | | | | krb5_net_write() here. * k5-int.h: From here. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13421 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (acquire_init_cred): Include "k5-int.h" forEzra Peisach2001-06-202-0/+6
| | | | | | krb5int-cc_default() prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13420 dc483132-0cff-0310-8789-dd5450dbe970
* * server_internal.h: Add prototype for kdb_iter_entry()Ezra Peisach2001-06-202-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13419 dc483132-0cff-0310-8789-dd5450dbe970
* * kname_parse.c (k_isrealm, k_isname, k_isrealm): AddEzra Peisach2001-06-207-16/+22
| | | | | | | | | | | | | 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
* * krb.h: Add prototype for krb__get_srvtabname() which is invokedEzra Peisach2001-06-202-0/+18
| | | | | | | 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
* Fix small stylistic typoEzra Peisach2001-06-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13416 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c: Include <krb5/adm_proto.h> for krb5_log_init()Ezra Peisach2001-06-202-1/+3
| | | | | | | | 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
* * krb524d.c: Include <krb5/adm_proto.h> for krb5_log_init()Ezra Peisach2001-06-202-0/+6
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13414 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_create.c: Include <krb5/adm_proto.h> forEzra Peisach2001-06-202-0/+6
| | | | | | krb5_keysalt_iterate() prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13413 dc483132-0cff-0310-8789-dd5450dbe970
* * t_std_conf.c (test_locate_kdc): Update to new krb5_locate_kdcEzra Peisach2001-06-202-6/+10
| | | | | | interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13412 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (check-unix): Add $(RUN_SETUP) before invocation ofEzra Peisach2001-06-202-1/+6
| | | | | | transit-tests for shared library environment variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13411 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed several typos in commentsMitchell Berger2001-06-208-23/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13399 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed a bunch of typosMitchell Berger2001-06-204-9/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13398 dc483132-0cff-0310-8789-dd5450dbe970
* New implementation of transited-realm checking, with some test cases. The testKen Raeburn2001-06-205-79/+494
| | | | | | 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
* * api.0/init.exp: Silly typo fixedMitchell Berger2001-06-203-2/+8
| | | | | | * api.2/init.exp: Same silly typo fixed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13396 dc483132-0cff-0310-8789-dd5450dbe970
* * server_dict.c: Silly typo fixedMitchell Berger2001-06-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13395 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c: Call krb5_klog_init before the first point where theMitchell Berger2001-06-202-7/+12
| | | | | | | | 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
* * design.tex: Silly typo fixedMitchell Berger2001-06-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13393 dc483132-0cff-0310-8789-dd5450dbe970
* handle irix high-numbered error codesKen Raeburn2001-06-203-7/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13392 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.tex: Silly typo fixedMitchell Berger2001-06-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13391 dc483132-0cff-0310-8789-dd5450dbe970
* Use a "struct addrlist" instead of separate count and pointer-to-pointer valuesKen Raeburn2001-06-2010-116/+136
| | | | | | | 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
* * kdc_util.c (ktypes2str): New function; construct a stringTom Yu2001-06-195-10/+124
| | | | | | | | | | | | | | | | | | 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
* * ftpcmd.y: Cleanup potential ambiguity between comparsion andEzra Peisach2001-06-192-1/+6
| | | | | | pre-increment for a variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388 dc483132-0cff-0310-8789-dd5450dbe970
* pmap_prot2.c (xdr_pmaplist): Ensure variable set before useEzra Peisach2001-06-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13387 dc483132-0cff-0310-8789-dd5450dbe970
* * utility.c (printsub): Ensure variable set before useEzra Peisach2001-06-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13386 dc483132-0cff-0310-8789-dd5450dbe970
* telnet.c (telrcv): Ensure variable set before useEzra Peisach2001-06-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385 dc483132-0cff-0310-8789-dd5450dbe970
* * encrypt.c (encrypt_is): Cast arguments to printf to match formatEzra Peisach2001-06-182-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13384 dc483132-0cff-0310-8789-dd5450dbe970