summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * sys_term.c (addarg): Cast char to long in indexing arrayEzra Peisach2001-07-062-4/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13570 dc483132-0cff-0310-8789-dd5450dbe970
* * auth_unix.c: In case GETGROUPS_T is not defined, default to intEzra Peisach2001-07-062-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13569 dc483132-0cff-0310-8789-dd5450dbe970
* * shs.h, shs.c, t_shs.c: Fix sha1 on Windows by renaming LONG toDanilo Almeida2001-07-064-51/+53
| | | | | | | | SHS_LONG to avoid problem with LONG being signed on Windows. Rename BYTE to SHS_BYTE to avoid any name colisions with Windows (where BYTE and LONG are types defined in the Platform SDK). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13568 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Link krshd with KRSHDLIBS instead of LOGINLIBSEzra Peisach2001-07-0610-44/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Creare a new variable KRSHDLIBS which differs from LOGINLIBS by not including libkrb524.a. Test for getenv. * krcp.c: Prototype lostconn(). * krlogind.c: Provide prototype for signal handler cleanup. Implied need to add extra argument to function - ensure consistant calling. * krsh.c: Provide prototype for signal handler sendsig. * krshd.c: Rewrite error() to use stdargs/varargs. (doit): When creating a tty name using getpid. Ensure that does not overflow tty string buffer. * login.c: Provide prototype for signal handler timedout. * setenv.c: Do not define getenv() unless needed. * v4rcp.c: Rewrite error() to use stdargs/varargs. Add signal number argument to lostconn(), include prototype, and ensure called consistantly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13567 dc483132-0cff-0310-8789-dd5450dbe970
* vectors.c: fix some compiler complaintsKen Raeburn2001-07-052-34/+76
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13566 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CHECK_WAIT_TYPE): Improved testing if wait uses intEzra Peisach2001-07-052-2/+12
| | | | | | | or struct union as an argument. Tests if a prototype conflict exists with int being used, and if so, falls back on the old test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13565 dc483132-0cff-0310-8789-dd5450dbe970
* * encrypt.c (encrypt_reply): Cast arguments to printf to matchEzra Peisach2001-07-052-4/+9
| | | | | | format in debugging statments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13564 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_TYPE_GETGROUPS to determine argument toEzra Peisach2001-07-0511-30/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | getgroups. * auth_unix.c (authunix_create_default): Use GETGROUPS_T array in call to getgroups. Copy into array of int for call to authunix_create. Note: If auth_unix protection ever used with this code, we will need to cleanup assumptions in int being 32 bits in OTW transfer of gids. * clnt_tcp.c, svc_tcp.c: Change writetcp and readtcp to take char * as first argument to be compatible with xdrrec_create. * xdr.c (xdr_opaque): Cast argument in call to XDR_GETBYTES. * svc.h: Add prototype for gssrpc_svcudp_enablecache. * svc_auth_gssapi.c (_gssrpc_svcauth_gssapi): Change _svcauth_gssapi to _gssrpc_svcauth_gssapi for consistancy. * svc_auth.c: Move prototypes for _gssrpc_svcauth_{unix, null, short, gssapi} to: * svc_auth.h: here. * svc_auth_unix.c: Update _gssrpc_svcauth_short and _gssrpc_svcauth_unix to match prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13563 dc483132-0cff-0310-8789-dd5450dbe970
* * rtest.c: Provide a prototype for krb5_klog_syslog() dummy handlerEzra Peisach2001-07-052-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13559 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c: Provide prototypes for myoob and lostconnEzra Peisach2001-07-052-3/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13558 dc483132-0cff-0310-8789-dd5450dbe970
* * rc_io.c: Declare krb5_rc_io_open_internal staticEzra Peisach2001-07-052-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13557 dc483132-0cff-0310-8789-dd5450dbe970
* * ser_sctx.c: Declare kg_oid_size and kg_queue_size staticEzra Peisach2001-07-052-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13556 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_log2.c: Include hash.h, page.h and extern.h forEzra Peisach2001-07-052-0/+7
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13555 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp, gssftp.exp: Test transfering a file > 1MB toEzra Peisach2001-07-043-2/+129
| | | | | | exercise PBSZ failure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13554 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.c: Instead of hard wiring the FUDGE_FACTOR, newEzra Peisach2001-07-042-18/+65
| | | | | | | | | | variables to keep track of the total buffer length desired and the actual maximum that can be fitted. Add secure_determine_constants() to determine the mechanism dependent overhead. This has a hard limit for krb4 - for gssapi use gss_wrap_size_limit. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13553 dc483132-0cff-0310-8789-dd5450dbe970
* * v4rcp.c, login.c: Fill in prototypes, declare many functionsEzra Peisach2001-07-034-36/+42
| | | | | | static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13550 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (sgetpwnam): Remove local declaration of sgetsaveEzra Peisach2001-07-032-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13549 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Remember to chop off leadingTom Yu2001-07-022-7/+22
| | | | | | | | | "/dev/" for the non-sysV case. Handle lseek() returning non-zero yet non-negative values (it usually does... :-), so that we can actually write somewhere not at the beginning of the utmp file if necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13548 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_svc.c: Change rpc_test_prog_1 toEzra Peisach2001-07-024-11/+22
| | | | | | | | | | | | | rpc_test_prog_1_svc. * rpc_test.h: Create prototypes for rpc_test_echo_1_svc and rpc_test_prog_1_svc. * server.c: Declare usage and handlesig static. Change rpc_test_echo_1 to rpc_test_echo_1_svc and rpc_test_prog_1 to rpc_test_prog_1_svc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13547 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_int.h: Provide prototypes for profile_ser_size,Ezra Peisach2001-07-022-0/+13
| | | | | | profile_ser_externalize, profile_ser_internalize. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13546 dc483132-0cff-0310-8789-dd5450dbe970
* * popen.c: Include ftpd_var.hEzra Peisach2001-07-025-16/+33
| | | | | | | | | | | | * ftpd.c: Declare secure_fprintf, gunique, sgetsave, sgetpwnam, path_expand static. * ftpd_var.h: Add prototypes for getline, renamefrom, ftpd_popen, ftpd_pclose. * ftpcmd.y: Declare lookup, copy and urgsafe_getc static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13545 dc483132-0cff-0310-8789-dd5450dbe970
* * commands.c: Remove prototypes for EncryptAutoEnc(),Ezra Peisach2001-07-022-6/+7
| | | | | | | EncryptAuthDec(), EcnryptDebug(), EncryptVerbose() as they exists in enc-proto.h in libtelnet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13544 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5forw.h: File with prototype for rd_and_store_for_creds()Ezra Peisach2001-07-0213-16/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * kerberos5.c: Include krb5forw.h for rd_and_store_for_creds() prototype which is removed from this file. * forward.c: Include krb5forw.h for prototype. * setenv.c: Include misc-proto.h for setenv/unsetenv prototypes. * parsetos.c: Include misc-proto.h for parsetos prototype. * misc-proto.h: Add prototype for parsetos(), setenv(), unsetenv() as needed. * kerberos5.c: Declare kerberos5_forward() static and flush out prototype. * gettytab.h: Flush out prototypes for getent() and getstr(). * getent.c: Include gettytab.h for prototypes. * genget.c: Include misc.h for prototypes. * enc_des.c: Add prototype for fb64_printsub. * enc-proto.h: Add prototypes for encrypt_debug(), finddecryption(), EncryptAuthEnc(), EncryptAutoDec(), EncryptDebug(), EncryptVerbose(). * encrypt.c: Declare encrypt_list_types() and encrypt_keyid() static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13543 dc483132-0cff-0310-8789-dd5450dbe970
* * commands.c: Declare sourceroute() staticEzra Peisach2001-07-022-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13542 dc483132-0cff-0310-8789-dd5450dbe970
* * commands.c: Declare local functions staticEzra Peisach2001-07-027-26/+47
| | | | | | | | | | | | | | | * main.c: Declare usage() static. * ring.h: Provide full prototypes for ring_mark() and ring_clear_mark(). * sys_bsd.c: Declare signal handler and NetNonblockingIO static. * telnet.c: Declear gettermname() and mklist() static. Change local variable timeout to tmie_out to avoid shadowing curses header file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13541 dc483132-0cff-0310-8789-dd5450dbe970
* * state.c: Declate doclientstat() static and conditionalizeEzra Peisach2001-07-025-10/+23
| | | | | | | | | | | | | inclusion if LINEMODE defined. * sys_term.c: Declare getptyslave() and addard() static. * telnetd.c: Declare _gettermname() and getterminaltype() static. * utility.c: Declare putstr() and nextitem() static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13540 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_server.h: Add prototypes for missing acl_ functionsEzra Peisach2001-07-016-17/+36
| | | | | | | | | | | | * admin_server.c, kadm_func.c: Declare functions static that are local to file. * acl_files.c: Include kadm_server.h for prototypes. Flush out static prototype for acl_abort. * kadm_supp.c: Include kadm_server.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13539 dc483132-0cff-0310-8789-dd5450dbe970
* * tcl_kadm5.h: File with prototypes for Tcl_kadm5_init andEzra Peisach2001-07-015-31/+50
| | | | | | | | | | | | | | | Tcl_ovsec_kadm_init. * tcl_kadm5.c: Include tcl_kadm5.h. Declare tcl_kadm5_{rename,chpass,get}_principal, tcl_kadm5_chpass_principal_util, tcl_kadm5_randkey_principal, tcl_kadm5_{create,delete,modify,get}_policy, tcl_kadm5_free_{principal,policy}_ent, tcl_kadm5_get_privs as static. * test.c, tcl_ovsec_kadm.c: Include tcl_kadm5.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13538 dc483132-0cff-0310-8789-dd5450dbe970
* * misc.c, server_stubs.c: Nuke rcsidEzra Peisach2001-07-017-54/+28
| | | | | | | | | | | * misc.h: Add prototypes for kadm_1 and process_chpw_request. * ovsec_kadmd.c: Include misc.h and remove prototype for process_chpw_request and kadm_1. * kadm_rpc_svc.c, schpw.c: Include misc.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13537 dc483132-0cff-0310-8789-dd5450dbe970
* * nstrtok.h: New file with prototype for nstrtokEzra Peisach2001-07-016-37/+22
| | | | | | | | | | | | | * ovload.c: Include nstrtok.h * strtok.c: Include nstrtok.h for prototype. Declare delim as const char * argument. Delete rcsid. * string_table.c: Delete rcsid. * kadm5_create.c (build_name_with_realm): Declare static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13536 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (get_profile_etype_list): Fix etype-counting loop soTom Yu2001-06-302-4/+10
| | | | | | | | | that trailing separator characters (as in the DEFAULT_ETYPE_LIST) don't cause another iteration, which was causing the following loop to fall off the end of the string due to count being one too great. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13532 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add check for ifaddrs.h, which missingTom Yu2001-06-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13531 dc483132-0cff-0310-8789-dd5450dbe970
* * chk_trans.c (foreach_realm): Cleanup loal variable set but neverEzra Peisach2001-06-282-3/+6
| | | | | | used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13529 dc483132-0cff-0310-8789-dd5450dbe970
* * auth.h: Provide full prototype for xdr_des_blockEzra Peisach2001-06-2833-231/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * auth_gssapi.h: Complete prototypes for _svcauth_gssapi_unset_names(). * clnt.h: Prototype dispatch functions and all functions. * clnt_perror.c: Prototype static auth_errmsg(). * clnt_raw.h clnt_tcp.c, clnt_udp.c: Provide prototypes to static functions and match dispatch table prototypes. control function takes void * instead of caddr_t. * pmap_rmt.c: Move prototype for resultproc_t to pmap_clnt.h. * rpc.h: get_myaddress returns int. Add prototypes for callrpc and getrpcport. * rpc_commondata.c (rpc_createerr): When initializing rpc_creaerr use RPC_SUCCESS instead of 0. * get_myaddress.c, rpc_dtablesize.c: Include gssrpc/rpc.h for prototype. * pmap_clnt.h, pmap_prot.h, pmap_rmt.h, rpc_msg.h: Full prototypes for all functions. * svc.c: Provide full prototype for static function. * svc.h: Prototypes for dispatch functions added. Flushed out prototypes for all functions missing prototypes. Added prototype for svcfd_create. * svc_auth.c: Prototypes for all functions referenced. * svc_auth.h: Prototype dispatch functions to svc_auth_ops. * svc_auth_any.c: Replace use of authany_wrap() with a new local function that matches svc_auth_ops dispatch table. * svc_simple.c: Provide prototype for static function universal. Fill in missing types of parameters to gssrpc_registerrpc. * svc_raw.c svc_tcp.c, svc_udp.c: Provide prototypes for static functions and match prototypes in dispatch table. Change getargs and freeargs argument to void * from caddr_t. * xdr.c (xdr_void): Function to match prototype of arguments given. * xdr.h: Provide full prototypes for xdr_ops dispatch table and xdr_void(). * svc_auth_gssapi.c, xdr_alloc.c, xdr_mem.c, xdr_rec.c, xdr_stdio.c: Provide protypes for static functions and match dispatch tables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13528 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Provide prototype for krb_get_default_user andEzra Peisach2001-06-282-1/+10
| | | | | | | krb_set_default_user if _WINDOWS is not defined. There is a conditional prototype in krb.h for them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13527 dc483132-0cff-0310-8789-dd5450dbe970
* oops, forgot to save fixed versionKen Raeburn2001-06-281-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13526 dc483132-0cff-0310-8789-dd5450dbe970
* misc cleanup in dump-utmpKen Raeburn2001-06-282-5/+14
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13525 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): Don't copy host if it's a null pointerKen Raeburn2001-06-282-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13524 dc483132-0cff-0310-8789-dd5450dbe970
* *bindresvport.c: Include gssrpc/rpc.h for prototypeEzra Peisach2001-06-278-44/+88
| | | | | | | | | | | | | | | | | | | | * auth_unix.h: Expand prototype for xdr_authunix_params to include arguments. * auth_gssapi.h: Give full prototypes for xdr_gss_buf, xdr_authgssapi_creds, xdr_authgssapi_init_arg and xdr_authgssapi_init_res. * auth_gssapi.c, auth_none.c, auth_unix.c: For struct AUTH disptach functions, provide full prototypes and ensure consistant usage in functions * auth.h: Provide prototypes dispatch functions in struct AUTH. Give a forward declaration of struct rpc_msg. Change duplicate definitions of AUTH_WRAP and AUTH_UNWRAP into auth_wrap and auth_unwrap. Give full prototype for authany_wrap. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13521 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c: Flush out prototype for static krb_v4_recvauthEzra Peisach2001-06-272-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13518 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Add prototypes for ad_print, krb_svc_init,Ezra Peisach2001-06-2713-10/+77
| | | | | | | | | | | | | | | | | krb_svc_init_preauth, krb_get_svc_in_tkt_preauth, kset_logfile, krb_log, krb_set_logfile, krb_set_lifetime, month_sname, krb_rd_preauth, krb_net_rd_preauth, krb_net_rd_sendauth, krb_stime, krb_start_session, krb_end_session, krb_get_default_user, krb_set_default_user. * ad_print.c, g_svc_in_tkt.c, klog.c, log.c, mk_req.c, month_sname.c, rd_preauth.c, sendauth.c, stime.c, unix_glue.c: Include krb4int.h for prototypes. * decomp_tkt.c: Include krb54proto.h for decomp_tkt_krb5() prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13517 dc483132-0cff-0310-8789-dd5450dbe970
* * klog.h: Flush out prototype for klog()Ezra Peisach2001-06-272-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13516 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapi.hin, gssapi_generic.h, gssapi_generic.c:Tom Yu2001-06-274-33/+217
| | | | | | | added oids from rfc 2744. Kept old oids for compatibility. [pullup of lxs's changes] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13515 dc483132-0cff-0310-8789-dd5450dbe970
* * server_glue_v1.c: Include misc.h for prototypesEzra Peisach2001-06-263-3/+11
| | | | | | | * ovsec_kadmd.c: Declare usage() and display_status() static. Flush out static prototype for display_status_1(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13514 dc483132-0cff-0310-8789-dd5450dbe970
* * krb4int.h: Add prototypes for krb__get_realmsfile(),Ezra Peisach2001-06-2610-7/+37
| | | | | | | | | | | | | | | | | krb5 prototypes are declarted from krb.hkrb__get_cnffile() and krb5 prototypes are declarted from krb.hk_gethostname(). * g_pw_in_tkt.c: Declare passwd_to_key() static. * cr_tkt.c: Move krb5.h inclusion before krb.h so that certain krb5 prototypes are declarted from krb.h. * g_admhost.c, g_cnffile.c, g_krbhst.c, g_krbrlm.c, gethostname.c krb5 prototypes are declarted from krb.hrealmofhost.c: Include krb4int.h and remove prototypes included in there. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13512 dc483132-0cff-0310-8789-dd5450dbe970
* * conv_creds.c: Nuke prototype in fileEzra Peisach2001-06-263-7/+10
| | | | | | | * krb524.h: Replace profile for krb524_send_message() with krb524_sendto_kdc(). (krb524_send_message no longer exists). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13511 dc483132-0cff-0310-8789-dd5450dbe970
* * authorization.c (find_first_cmd_that_exists): Change xmalloc()Ezra Peisach2001-06-263-3/+13
| | | | | | | | | | to xcalloc() where was intented in code (two arguments to xmalloc). * ksu.h: Provide full prototypes for xmalloc(), xrealloc(), xcalloc(), and xstrdup(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13510 dc483132-0cff-0310-8789-dd5450dbe970
* * prot.h: Flush out prototypes for create_auth_reply(),Ezra Peisach2001-06-262-3/+8
| | | | | | pkt_cipher(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13509 dc483132-0cff-0310-8789-dd5450dbe970
* * getdate.y: Provide full prototype for getdate_yylex() andEzra Peisach2001-06-262-7/+7
| | | | | | getdate_yyerror(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13508 dc483132-0cff-0310-8789-dd5450dbe970
* * str_conv.c (krb5_string_to_keysalts): When parsing string, allowEzra Peisach2001-06-262-1/+21
| | | | | | for extra separator characters (like spaces) between keysalts. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13507 dc483132-0cff-0310-8789-dd5450dbe970