summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext.h: Remove unused prototype for start_slave() and replaceEzra Peisach2001-06-076-14/+44
| | | | | | | | | | | | | | | | | with one for startslave(). * state.c: Add libtlnet/encrypt.h for missing prototypes. * sys_term.c: Add prototype for dup_tty(). Change getptyslave() from int to void. Cleanup an assignment in conditional warning. * telnetd.c: Include libtelnet/misc-proto.h. Declare return from terminaltypeok() and main() as int. * utility.c: Include libtelnet/auth.h and libtelnet/encrypt.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13286 dc483132-0cff-0310-8789-dd5450dbe970
* * auth-proto.h: Add prototype for kerberos5_cleanup()Ezra Peisach2001-06-073-1/+22
| | | | | | | | | * enc-proto.h: Add prototypes for encrypt_printsub(), encrypt_request_sart(), encrypt_request_end(), encrypt_enc_keyid()m encrypt_dec_keyid(), encrypt_support(), encrypt_start(), encrypt_end(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13285 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Remove AS_REP_105_SAM_COMPAT definition. Not used inEzra Peisach2001-06-072-17/+8
| | | | | | | | | tree. Remove SYSV redefinition of random() to rand() and srandom() to srand(). Two locations in tree that might matter already handled in configure. Unicos redefinition of utimes() to utime() removed - appl/bsd has its own implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13284 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in ($(srcdir)/krb5/autoconf.h.in): New target; rebuild using autoheaderKen Raeburn2001-06-062-1/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13283 dc483132-0cff-0310-8789-dd5450dbe970
* aclocal.m4 (CONFIG_RULES): Set and substitute AUTOHEADER and AUTOHEADERFLAGSKen Raeburn2001-06-062-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13282 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (AUTOHEADER, AUTOHEADERFLAGS): New variablesKen Raeburn2001-06-062-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13281 dc483132-0cff-0310-8789-dd5450dbe970
* * auth-proto.h: Add prototypes for getauthmask(), auth_enable,Ezra Peisach2001-06-0616-47/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | auth_disable(), auth_onoff(), auth_togdebug(), auth_status(), auth_name(), auth_sendname(), auth_debug(), and auth_printsub(). * auth.c: Include unistd.h and cleanup some assignments in conditionals. * auth.h: Explicitly declare auth_debug mode as an int. * enc-proto.h: Add prototypes for EncryptDisable(), EncryptType(), EncryptStart(), EncryptStartInput(), EncryptStartOutput(), EncryptStop(), EncryptStopInput(), EncryptStopOutput(), EncryptStatus(), encrypt_gen_printsub(), printsub(). * enc_des.c: Declare encrypt_debug_mode as int. Cleanup unused variables and assignments in conditionals. * encrypt.c: Include stdio.h for sprintf prototype. Cleanup assignments in conditionals. * getent.c: Conditionalize definition of some variables. * kerberos5.c: Explicitly declare auth_debug_mode an int. * misc-proto.h: Add prototype for auth_encrypt_user(). * misc.c: Include auth.h and encrypt.h for prototypes. * misc.h: Add prototypes for isprfix(), genget(), Ambiguous(). * parsetos.c: Include stdlib.h for strtol() prototype. * forward.c, kerberos.c, setenv.c: Assignment in conditional cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13280 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up small typo in lat set of commitsEzra Peisach2001-06-061-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13279 dc483132-0cff-0310-8789-dd5450dbe970
* * test.c (print_key): Pass in des_cblock* instead of char *.Ezra Peisach2001-06-062-5/+14
| | | | | | | | (krb5_print_keyblock): Cast argument to C_Block_print to des_cblock *. (krb4_print_ticket): For printf formats expecting a long, cast arguments as such. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13278 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp: Allow for "decrypt integrity check failed" errorEzra Peisach2001-06-062-0/+6
| | | | | | minor code from GSSAPI as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13277 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpcmd.y: Include "ftpd_var.h" and remove prototype for reply()Ezra Peisach2001-06-065-50/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lreply(). Add prototypes and declare as returning void sizecmd(), help() and yylex(). Cleanup assignments in conditionals. * ftpd.c: Include <grp.h> for initgroups() prototype. Move reply(), lreply() prototypes to ftpd_var.h (and include same). Include "krb524.h" for krb524_convert_creds_kdc() prototype. Include secure.h. Provide static prototypes for ftpd_gss_convert_creds(), ftpd_gss_userok(), dolog(), receive_data(), login(), end_login(), disallowed_user(), restricted_user(), checkuser(). Declare main(), checkuser(), disallowed_user(), restricted_user(), end_login(), kpass(), retreive_data(), auth_data(), secure_printf(), ftpd_gss_userok(), as returning int. Declare setdlevel(), user(), pass(), login(), retreive(), store_file(), secure_error(), statfilecmd(), stat_cmd(), fatal(), reply(), lreply(), ack(), nack(), yyerror(), delete_file(), cwd(), makedir(), removedir(), pwd(), renamecmd(), dolog(), dologout(), passive(), perror_reply(), auth(), send_file_list(), reply_gss_error(), secure_gss_error(), ftpd_gss_convert_creds(), as returning void. Cleanup printf argument mismatches. * ftpd_var.h: New header file with many prototypes from ftpd.c. * popen.c (ftpd_popen): Add parenthesis in conditional to distinguish || vs &&. Add prototype for blkfree(). (ftpd_pclose): Declare as returning int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13276 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for unistd.h.Ken Raeburn2001-06-053-1/+6
| | | | | | * k524init.c: Only include unistd.h if it's available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13275 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c: Include stdarg.h.Ken Raeburn2001-06-052-24/+49
| | | | | | | | | | (main): Accept new argument -p to indicate port number to use; fall back to KRB524_SERVICE and then KRB524_PORT. In error messages, use only part of program name following last '/'. (usage): Updated. (krb5_free_keyblock_contents): Delete disabled function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13274 dc483132-0cff-0310-8789-dd5450dbe970
* client.c, server.c: Cleanup assignments in conditionalsEzra Peisach2001-06-053-202/+224
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13273 dc483132-0cff-0310-8789-dd5450dbe970
* * authorization.c, heuristic.c, krb_auth_su.c, main.c, setenv.c:Ezra Peisach2001-06-056-67/+111
| | | | | | Cleanup assignments in conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13272 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c (log_badauth_display_status_1): Need value element ofEzra Peisach2001-06-052-3/+6
| | | | | | gss_buffer_desc for printf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13271 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main): Missing arguments to printf fixedEzra Peisach2001-06-052-2/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13270 dc483132-0cff-0310-8789-dd5450dbe970
* * clnt_perror.c (clnt_spcreateerror): Enumerate missing cases inEzra Peisach2001-06-0530-12/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switch. * getrpcport.c: Include string.h for memmove() prototype and pmap_clnt.h for pmap_getport() prototype. * rpc_dtablesize.c (_gssrpc_rpc_dtablesize): Declare as returning int. * get_myaddress.c (gssrpc_get_myaddress): Likewise. * rpc_prot.c (gssrpc_xdr_accepted_reply, sunrpc_seterr_reply): Enumerate missing cases for switch. (rejected): Fix typo: RPC_VERMISMATCH -> RPC_MISMATCH for enumerated switch. * svc_auth.c: Add braces to svcauthsw[] initialization. * svc_simple.c: Include pmap_clnt.h for pmap_unset prototype. * bindresvport.c, clnt_simple.c, clnt_tcp.c, clnt_udp.c, pmap_clnt.c, pmap_getmaps.c, pmap_gtport.c, pmap_rmt.c, svc_tcp.c, svc_udp.c: Include unistd.h for close() prototype. * xdr.c (xdr_opaque): Specify internal buffer as ints. (xdr_u_int32): Declare as returning bool_t. * clnt_generic.c, rpc_callmsg.c, svc_auth_unix.c, xdr_mem.c: Include string.h for memmove() prototype. * xdr_rec.c: Include string.h for memmove() prototype. Add dummy XDR_FREE cases for switches. * xdr_reference.c (xdr_reference): Add XDR_ENCODE case. (gcc warning). * xdr_array.c (xdr_array): Likewise. * auth.h: Include gssrpc/xdr.h and provide prototype for gssrpc_xdr_opaque_auth(). * auth_gssapi.h: Add prototypes for auth_gssapi_seal_seq() and auth_gssapi_unseal_seq(). * clnt.h: Add prototype for _gssrpc_rpc_dtablesize(). * rpc.h: Add prototypes for gssrpc_get_myaddress() and gssrpc_bindresvport(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13269 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.c, schpw.c: Cleanup assignments in conditionalsEzra Peisach2001-06-043-32/+55
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13268 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm5_create.c: Add prototype for staticEzra Peisach2001-06-045-35/+55
| | | | | | | | | | add_admin_princs(). Cleanup calling of add_admin_princs() to be consistant with prototype. * kdb5_create.c, kdb5_stash.c, kdb5_destroy.c: Cleanup assignments in conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13267 dc483132-0cff-0310-8789-dd5450dbe970
* * k524init.c: Inculde unistd.h for getopt() prototypeEzra Peisach2001-06-044-5/+14
| | | | | | | | * test.c (do_remote): Comment out unused variables. * sendmsg.c (krb524_sendto_kdc): Cleanup assignment in conditional. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13266 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_util.c (add_to_transited): Add braces to provide unambiguousEzra Peisach2001-06-044-34/+45
| | | | | | | | | | if - if - else statements. * kdc_preauth.c (verify_sam_response): Cleanup assignments in conditionals. * main.c (main): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13265 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c: Always provide prototype for setsignal and not ifEzra Peisach2001-06-042-5/+8
| | | | | | __STDC__ is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13264 dc483132-0cff-0310-8789-dd5450dbe970
* * logger.c (krb5_klog_init): Cleanup assignments inEzra Peisach2001-06-044-13/+36
| | | | | | | | | | | | | conditionals. Ensure that if hostname is MAXHOSTNAMELEN, buffer is \0 terminated. * str_conv.c (krb5_string_to_keysalts, krb5_keysalt_iterate): Clean up assignments in conditionals. * admin.h: Move kadm5_free_name_list() to version 1 api as it is present in the ovsec_glue layer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13263 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_principal.c: Cleanup assignments in conditionalsEzra Peisach2001-06-042-109/+135
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13262 dc483132-0cff-0310-8789-dd5450dbe970
* * gss_libinit.c: Include gssapiP_krb5.h for kg_release_defcred()Ezra Peisach2001-06-042-0/+6
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13261 dc483132-0cff-0310-8789-dd5450dbe970
* * accept_sec_context.c (krb5_gss_accept_sec_context): CleanupEzra Peisach2001-06-043-6/+14
| | | | | | | assignments in conditionals. * k5seal.c (make_seal_token_v1): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13260 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (get_profile_etype_list): Zero out multiple separator charactersKen Raeburn2001-06-022-2/+8
| | | | | | between tokens, so the second can be recognized properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13258 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c: Add braces around initializers. Cleanup assignments inEzra Peisach2001-06-0111-78/+135
| | | | | | | | | | | | | | | | | | | | | | | | | conditionals. Include krb524.h if KRB4_CONVERT defined. * krlogind.c (main): Cleanup unused variables. (protocol): Cleanup ambiguous if-if-else warning. * krshd.c (main): Cleanup unused variables. * krlogin.c (setsignal): Declare as void. (server_message): Cleanup unused variables. * setenv.c (setenv): Declare as returning int and clean up assignments in conditionals. * kcmd.c (kcmd, rcmd_stream_init_krb5, v5_des_read): Clean up unused variables and assignments in conditionals. * forward.c (rd_and_store_for_creds): Likewise. * krcp.c (rsource): Likewise. * v4rcp.c (answer_auth): Likewise. * krsh.c (main): Declare as retuning int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13257 dc483132-0cff-0310-8789-dd5450dbe970
* * g_krbrlm.c: Remove unused static variable krb_confEzra Peisach2001-06-0119-23/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * g_svc_in_tkt.c (krb_svc_init, krb_svc_init_preauth): Declare as returning int. * gethostname.c: Include unistd.h for gethostname() prototype. * getst.c: Include unistd.h for read() prototype. * in_tkt.c (in_tkt): Cast arguments to debugging printf to int from uid_t to match format statement. * kname_parse.c: Declare k_isname() and k_isinst() as returning int. Cleanup assigments in conditionals. * kuserok.c (kuserok): Cleanup assignment in conditional. * log.c (krb_set_logfile): Declare function as void. * klog.c (kset_logfile): Likewise. * pkt_clen.c (pkt_clen): Declare as returning int. * kntoln.c (krb_kntoln): Likewise. * fgetst.c (fgetst): Likewise. * rd_req.c: Declare local variable only if KRB_CRYPT_DEBUG defined. * recvauth.c: Include stdlib.h and unistd.h for read() and atoi() prototypes. * send_to_kdc.c: Include unistd.h for close() prototype. * sendauth.c (krb_sendauth): Clean up assignment in conditional. * tkt_string.c (tkt_string): Likewise git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13256 dc483132-0cff-0310-8789-dd5450dbe970
* * des.c (des_ecb_encrypt): Do not use a variable named "encrypt".Ezra Peisach2001-05-314-9/+15
| | | | | | | * enc_dec.c (des_cbc_encrypt): Likewise. * pcbc_encrypt.c (des_pcbc_encrypt): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13255 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Do not use "encrypt" as an argumentEzra Peisach2001-05-312-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13254 dc483132-0cff-0310-8789-dd5450dbe970
* * k5_md4des.c (k5_md4des_verify): Get rid of local variable thatEzra Peisach2001-05-313-4/+8
| | | | | | | is assigned to, without side effects, but never used. * k5_md5des.c (k5_md5des_verify): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13253 dc483132-0cff-0310-8789-dd5450dbe970
* * des.c (k5_des_docrypt): Do not use a variable named "encrypt"Ezra Peisach2001-05-313-4/+9
| | | | | | * des3.c (k5_des3_docrypt): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13252 dc483132-0cff-0310-8789-dd5450dbe970
* * f_cbc.c (mit_des_cbc_encrypt): Do not use a variable named "encrypt".Ezra Peisach2001-05-313-6/+9
| | | | | | * d3_cbc.c (mit_des3_cbc_encrypt): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13251 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h (mit_des_cbc_encrypt, mit_des3_ecb_encrypt,Ezra Peisach2001-05-312-3/+8
| | | | | | mit_des3_cbc_encrypt): Don't use "encrypt" as argument name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13250 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5-config.in: New script for providing linker and compilerEzra Peisach2001-05-305-3/+248
| | | | | | | | | | | | | | | information for applications. * patchlevel.h: Update to current release. Mkrel script generates this in distribtions. * configure.in: Add support for parsing patchlevel.h into a useable form for krb5-config. Generate krb5-config from krb5-config.in. Add KRB5_BUILD_PROGRAM for variable substitution. * Makefile.in: Add support for building and installing krb5-config. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13249 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.c (protocol): Don't do TIOCPKT on systems with STREAMSTom Yu2001-05-252-1/+11
| | | | | | | | | | ptys, even if there is a TIOCPKT, since it may result in hangs on some systems where BSD packet mode is (presumably) not implemented properly, such as AIX 4.3.3. Should get cleaned up at some later point to actually I_PUSH "pckt" or equivalent and do translation between STREAMS and BSD style packet mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13245 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_CC, WITH_CCOPTS): Autoconf 2.50 fix. ChangeEzra Peisach2001-05-232-2/+8
| | | | | | | from define to AC_DEFUN. Autoconf warns of use of AC_REQUIRE outside such as environment. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13244 dc483132-0cff-0310-8789-dd5450dbe970
* * getpty.c: Make pty_getpty() into ptyint_getpty_ext(), which hasTom Yu2001-05-164-36/+379
| | | | | | | | | | | | | | | | | | | an extra argument that determines whether to call grantpt() and unlockpt() on systems that support it. The new pty_getpty() will simply call the extended version. This is to support some wackiness needed by pty_paranoia.c tests. * pty-int.h: Add prototype for ptyint_getpty_ext(). * pty_paranoia.c: Add rant about ptys and quirks therein. Needs to be updated somewhat. Add some more paranoia for the case where we actually succeed in opening the slave of a closed master and then succeed in opening the same master. This program will get rewritten at some point to actually see what things result in EOFs and under what conditions data will actually get passed between master and slave. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13243 dc483132-0cff-0310-8789-dd5450dbe970
* * gss-server.c (usage): Fix usage info *again* to reflect thatDanilo Almeida2001-05-152-1/+6
| | | | | | service_name is required. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13242 dc483132-0cff-0310-8789-dd5450dbe970
* * wrap_size_limit.c (krb5_gss_wrap_size_limit): Get rid of unusedEzra Peisach2001-05-1413-28/+57
| | | | | | | | | | | | | | | | | | | | | | | | variable. * util_ctxsetup.c (kg2_parse_token): Fix erroneous assignment in conditional. (code not used in current tree). * util_seed.c, util_seqnum.c, util_crypt.c, util_cksum.c: Cleanup up assignments in conditionals. * ser_sctx.c (kg_queue_internalize): Get rid of unused variable. * gssapiP_krb5.h: Renable prototype for krb5_gss_release_oid() as code is back (since 1996). * k5unseal.c (kg_unseal_v1): Declare internal function static. * init_sec_context.c (make_ap_req_v2): Comment out non-referenced function. * gssapi_krb5.c: Include k5-int.h for krb5_ser_* prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13241 dc483132-0cff-0310-8789-dd5450dbe970
* * defines.h: Fix k4cmd prototype to match kcmd.cTom Yu2001-05-114-4/+14
| | | | | | | | * kcmd.c (k4cmd): Fix to not use a narrow type. * krlogin.c: Fix prototypes so they don't include narrow types. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13240 dc483132-0cff-0310-8789-dd5450dbe970
* * pty_paranoia.c: New file; do many paranoid checks about cttyTom Yu2001-05-115-2/+367
| | | | | | | | | | | | | | | | handling by the pty drivers. * Makefile.in: Add rules for pty_paranoia and check-paranoia, which runs pty_paranoia. * configure.in: Define REVOKE_NEEDS_OPEN for Tru64. Add support for program building and run flags for the sake of pty_paranoia. * open_slave.c: Fix somewhat; AIX doesn't like opening the ctty twice, so only do initial open if we special-case it in configure.in, e.g. for Tru64. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13239 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: Fix RUN_ENV for Irix. [pulled up from 1.2.2]Tom Yu2001-05-112-2/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13238 dc483132-0cff-0310-8789-dd5450dbe970
* * logwtmp.c: Delete code under "#if 0". Fix reversed test forTom Yu2001-05-093-49/+20
| | | | | | | | | | | loggingin. Don't forget to set the ut_tv or ut_time for the entry. * update_utmp.c: Update rant about Tru64; remove fetching of ut_user from old entry. The existence of the old ut_user in the logout entry in wtmp was confusing last. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13237 dc483132-0cff-0310-8789-dd5450dbe970
* * disp_major_status.c (display_unknown): Remove unused variableEzra Peisach2001-05-084-20/+36
| | | | | | | | | | | * util_token.c (g_make_token_header): Remove incorrect cast of length argument to memcpy. * oid_ops.c (generic_gss_str_to_oid): Cast argument of isxxx() functions to int - avoids gcc warning when these are implemented as macros indexing an array. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13236 dc483132-0cff-0310-8789-dd5450dbe970
* * locate_kdc.c (add_host_to_list): Initialize stack variable errDanilo Almeida2001-05-082-1/+9
| | | | | | | which would otherwise get returned without being set in certain circumstances. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13235 dc483132-0cff-0310-8789-dd5450dbe970
* * cleanup.c: Call update_utmp() with the correct pid to assist inTom Yu2001-05-086-215/+288
| | | | | | | | | | | | | | | | | | | finding the old utmp entry. * open_ctty.c: Reformat somewhat and revise comment. * open_slave.c: Rework significantly. Primarily, keep a fd open to the slave if we need to reopen the slave device following vhangup() or revoke(), to accommodate various OS quirks. * update_utmp.c: Revise history section somewhat to document more HP-UX brokenness. Search via ut_pid before searching via ut_line. Copy stuff around because entuxent() will clobber some things. * void_assoc.c: Revise comment and reformat somewhat. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13234 dc483132-0cff-0310-8789-dd5450dbe970
* * sendmsg.c (krb524_sendto_kdc): Do fallback if KRB5_REALM_UNKNOWN is returned,Ken Raeburn2001-05-082-1/+6
| | | | | | as might happen if the DNS support is not enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13233 dc483132-0cff-0310-8789-dd5450dbe970