summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Include string.h for memset prototypeEzra Peisach2001-07-091-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13596 dc483132-0cff-0310-8789-dd5450dbe970
* * pmap_rmt.c, svc.c, svc_simple.c, svc_udp.c, svc_tcp.c,Ezra Peisach2001-07-0910-8/+22
| | | | | | | | | | xdr_array.c, xdr_reference.c : Include string.h for memset and memcmp prototypes. * auth_gssapi.c, auth_gssapi_misc.c, svc_auth_gssapi.c: Cast argment to PRINTF to match format. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13595 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_clnt.c, rpc_test_svc.c: Include string.h for memsetEzra Peisach2001-07-093-0/+7
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13594 dc483132-0cff-0310-8789-dd5450dbe970
* * kerberos.c (Data): Third argument now constEzra Peisach2001-07-095-8/+20
| | | | | | | | | | | * misc.c (printd): First argument now const. * misc-proto.h: Modify printd prototype to take const first argument. * auth.c: Cast argument to memcpy to unsigned. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13593 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Include pos-obsolete.hEzra Peisach2001-07-093-0/+19
| | | | | | | * pos-obsolete.h: Add for obsolete functions until they can be removed from the library. Contains setenv functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13592 dc483132-0cff-0310-8789-dd5450dbe970
* * logger.c (severity2string): Declare as returning const char *.Ezra Peisach2001-07-092-5/+10
| | | | | | | (klog_com_err_proc): Do not discard const status of format string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13591 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/hash_func.c (hash4): Declare first argument constEzra Peisach2001-07-094-12/+22
| | | | | | | | | * hash/hash.h: struct HTAB fname element now const. * hash/hash.c: Declare third argument to hash_access and init_hash const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13590 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add AC_HEADER_STDARGEzra Peisach2001-07-083-5/+24
| | | | | | * commands.c (call): Rewrite to use varargs/stdarg interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13589 dc483132-0cff-0310-8789-dd5450dbe970
* * fgetst.c: Include krb4int.hEzra Peisach2001-07-083-0/+11
| | | | | | * krb4int.h: Add fgetst prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13588 dc483132-0cff-0310-8789-dd5450dbe970
* * server_internal.h: Add prototype forEzra Peisach2001-07-082-0/+7
| | | | | | krb5_copy_key_data_contents. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13587 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_iters.c: Declare kadm5_get_either staticEzra Peisach2001-07-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13586 dc483132-0cff-0310-8789-dd5450dbe970
* * svc.c (xprt_register): If svc_fdset has not been initilized,Ezra Peisach2001-07-083-1/+16
| | | | | | | | | | FD_ZERO it. * rpc_commondata.c: Do not assume what the structure of an fd_set looks like. Add variable gssrpc_svc_fdset_init to determine if initialized. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13585 dc483132-0cff-0310-8789-dd5450dbe970
* * crypto_libinit.c: Include crypto_libinit.h for prototypesEzra Peisach2001-07-082-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13584 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (sigint): Declare staticEzra Peisach2001-07-082-2/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13583 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CHECK_WAIT_TYPE): Need to include sys/types.h forEzra Peisach2001-07-082-1/+7
| | | | | | initial test or pid_t might not be defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13582 dc483132-0cff-0310-8789-dd5450dbe970
* * resolve.c: Include stdlib.h (if present) for exit() prototypeEzra Peisach2001-07-061-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13581 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for need to provide setenv prototype ifEzra Peisach2001-07-064-2/+14
| | | | | | | | | | | setenv is in the C library. * forward.c: Provide setenv prototype if needed. * auth.c (auth_name): Cast result of sizeof() to int to match printf format specification. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13580 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check if prototype needed for herror()Ezra Peisach2001-07-063-1/+29
| | | | | | | | * commands.c (ayt_status): Add explict return type (void or int) depending on signal handler definition. Add prototype for herror if system does not provide one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13579 dc483132-0cff-0310-8789-dd5450dbe970
* * trval.c: Include string.h for strcmp prototypeEzra Peisach2001-07-062-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13578 dc483132-0cff-0310-8789-dd5450dbe970
* * resolve.c: Include stdlib.h (if present) for exit() prototypeEzra Peisach2001-07-061-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13577 dc483132-0cff-0310-8789-dd5450dbe970
* * sn2princ.c (krb5_sname_to_principal): Cast tolower argument to intEzra Peisach2001-07-063-3/+10
| | | | | | | * hst_realm.c (krb5_get_host_realm): Cast argument to toupper and tolower to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13576 dc483132-0cff-0310-8789-dd5450dbe970
* * conv_princ.c (krb5_425_conv_principal): Cast argument to tolowerEzra Peisach2001-07-062-1/+4
| | | | | | to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13575 dc483132-0cff-0310-8789-dd5450dbe970
* * get_in_tkt.c: Include os-proto.h for _krb5_conf_boolean prototypeEzra Peisach2001-07-063-0/+10
| | | | | | | * Makefile.in (LOCALINCLUDES): Add -I$(srcdir)/../os so os-proto.h can be included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13574 dc483132-0cff-0310-8789-dd5450dbe970
* * hash/dbm.c: Include db-dbm.h for prototypesEzra Peisach2001-07-062-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13573 dc483132-0cff-0310-8789-dd5450dbe970
* * db-dbm.h: New header file which lists the dbm interfacesEzra Peisach2001-07-063-1/+31
| | | | | | | * db-ndbm.h: Change prototype from dirinfo to dirfno which matches code and ndbm API. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13572 dc483132-0cff-0310-8789-dd5450dbe970
* * 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