| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13726 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13707 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13706 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13704 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13698 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
(suboption): Rename local variable "ospeed" to "o_speed" to avoid conflict with
global.
(env_opt_add): Cast opt_welldefined argument to char * to silence warning.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13697 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13696 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13695 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
defined, to silence compiler complaints about empty files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13693 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13682 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
with what the code actually does and be in a consistent order.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13672 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
than the whitespace-sensitive voodoo we've used in the past. This
fixes a bug where use of -u to set a default umask silently failed and
granted more permission on files than desired if the -u and the mode
were separated by a space, and likely many other such bugs.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13670 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Check for vsnprintf().
* ext.h: New prototypes for netprintf, netprintf_urg,
netprintf_noflush, netwrite, netputs.
* slc.c: Fix to use new NETOBUF-handling functions.
* state.c: Fix to use new NETOBUF-handling functions.
* telnetd.c: Fix to use new NETOBUF-handling functions.
* termstat.c: Fix to use new NETOBUF-handling functions.
* utility.c: General rework to be more paranoid about
bounds-checking of NETOBUF and NFRONTP. Abstract away
interactions with NETOBUF to eliminate explicit references to
NFRONTP in many places.
(netwrite): New function; copies a buffer to the
NETOBUF "ring buffer", checking bounds and calling netflush() if
needed.
(netputs): New function; calls netwrite() with a nul-terminated
string.
(netprintf, netprintf_ext): New function; wrap sprintf() with
bounds checking for use with NETOBUF.
(netprintf_urg): New function; like netprintf() except sets neturg
to point at last char written.
(netprintf_noflush): New function; like netprintf() except
silently fails if NETOBUF is full.
(ttloop, printoption, printsub, printdata): Fix to use new
NETOBUF-handling functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13669 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
compatible with GSS_C_NO_OID type. (was gss_OID *).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13652 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
Use GSS_C_NO_OID instead of gss_mech_krb5 for mech_type to use an
implementation specific default.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13649 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
building setenv.c from appl/bsd.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13632 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
they're already declared in ftp_var.h.
* ftp_var.h (FDOPEN_SOCKET): Fix second arg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13631 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
main.c, ruserpass.c, secure.c, secure.h: Quick and dirty Win32
port. Changes include using sockets more portably; changing the
method of getting username, home directory, and temporary
filenames; adding password reading code for Win32; directory
enumeration via FindNextFile() rather than readdir(); removing OUT
labels (which appear to cause problems with MSVC++ 6.0). Since
ANSI C, assume we have stdarg.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13628 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13626 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
getptyslave().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13625 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13624 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
correct amount of space for kstream data. (Patch from Cygnus KerbNet code,
1997.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13604 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* commands.c (call): Rewrite to use varargs/stdarg interface.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13589 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13583 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13570 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
format in debugging statments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13564 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13558 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13550 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13549 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13542 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* configure.in: Test if prototype for daemon necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13496 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
(encrypt_failure): Change to not shadow global error_message.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13495 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* authenc.c (telnet_gets): Change local variable prompt to tprompt
to not shadow global variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13494 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
global function.
* kerberos5.c (kerberos5_is): Change errbuf to kerrbuf to not
shadow previous local.
* kerberos.c (kerberos4_send): Change random_key to rand_key to
prevent redefine by des.h. Change auth to kauth to not shadow global.
(kerberos4_status): Change name to kname for same reason.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13493 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
* ftpd.c (main): Local variable name changes to prevent shadowing
of cp, sin, optarg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13492 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* krlogind.c (main): Change sin to sock_in.
* krshd.c: Change sin to sock_in to not shadow global. Change
some local variables to not shadow others.
2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13487 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
(auth_data): radix_encode expects a int * and not a size_t *. Use
temporary variable to pass data in and out.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13466 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
* configure.in: If compiling setenv.c, define NEED_SETENV.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13464 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13463 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
curses.h and term.h header files.
* telnet.c: Include term.h and curses.h if present for setupterm()
prototype.
* main.c: Declare prototype for parsetos() if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13462 dc483132-0cff-0310-8789-dd5450dbe970
|