| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
of /etc/hosts, as well as problems with resolver library, are all
likely to cause failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13343 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
casts in calls to mit_des_cbc_encrypt().
* t_verify.c (main): Add parenthesis aroud assignment in conditional.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13342 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
Add parenthesis abount structure initializers.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13341 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for these test executables.
* srv_rcache.c (krb5_get_server_rcache): Cast argument to
isgraph() to int.
* init_ctx.c: Cast arguments to isspace() to int. If unix is defined,
include ../krb5_libinit.h. There has to be a better was for windows.
* conv_princ.c (krb5_425_conv_principal): Cast argument to isupper().
to int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13340 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
isupper()/isspace()/islower() to int.
* t_std_conf.c (test_locate_kdc): krb5_locate_kdc expects a struct
sockaddr *** as a third argument instead of sockaddr **.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13339 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
asn1_decode_charstring() instead of asn1_decode_octetstring() to
decode krb5_data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13338 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13337 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* logwtmp.c: Provide logwtmp() prototype if needed.
* configure.in: Check for system provided getutmp(), logwtmp() and
revoke() prototypes. Check for util.h, libutil.h.
* update_wtmp.c: Provide prototype for getutmp() if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13336 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
* prof_parse.c (skip_over_blanks, parse_std_line, need_double_quotes):
Likewise
On some systems, isspace() is a macro indexing an array. Gcc warns on
indexing an array with a char.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13335 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
define NEED_SETENV as well as linking in local sources.
* defines.h: Include prototype for setenv() if NEED_SETENV defined.
* krlogin.c (prf): Declare as void. Used only with one argument -
get rid of pseudo-varargs behaviour.
* krlogind.c (recvauth): Include k5-util.h for
krb5_compat_recvauth_version() prototype. Declare sendoob() void.
* krshd.c: Include k5-util.h for krb5_compat_recvauth_version()
prototype.
* login.c: Include setenv prototype if NEED_SETENV defined. Cast
arguments to printf to match format string.
* v4rcp.c (source): Cast argument to sprintf() to match format string.
* krcp.c (rsource): Likewise.
* forward.c (rd_and_store_for_creds): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13334 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
with definitions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13333 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
krb5_compat_recvauth().
* krb5.hin: Move krb5_read_message() and krb5_write_message()
prototypes here.
k5-int.h: From here.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13332 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
for function with exported prototype in krb.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13331 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13330 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
programs. (only needed for krb5 an_to_ln code).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13329 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static vs. extern.
* heuristic.c (find_either_ticket): Change krb5_tgtname() to
ksu_tgtname().
* ccache.c: Include <sys/types.h> and <sys/stat.h> for start()
prototype.
* krb_auth_su.c: Reindent for readability. Remove defunct
code. Change use of krb5_tgtname to ksu_tgtname().
* ksu.h: Include k5-util.h for krb5_seteuid() prototype. Add
prototype for ksu_tgtname. Add prototype for unsetenv() if not
defined.
* main.c: Include grp.h for initgroups() prototype. Cleanup
assignment in conditional warning. Reindent for
readability. Arguments to print_status made consistant with regard
to long vs. int. Change krb5_tgtname to ksu_tgtname. (do not use
an internal krb5 function that is not advertised).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13328 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
prototype, provide one.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13327 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
strptime in the C library but does not provide a prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13326 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
* update_wtmp.c: Provide prototype for getutmp() if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13325 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
prototype for a function - and if not, allows us to define it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13324 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13323 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13322 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
| |
initgroups(), pty_logwtmp()/pty_make_sane_hostname(), and wait()
prototypes. For local initgroups definition, conditionalize on
HAVE_INITGROUPS and not __SCO__.
* krcp.c: Include <sys/wait.h> for wait()/waitpid() prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13321 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
krb_create_ticket(), krb5_cr_tkt_krb5(), krb_set_key_krb5().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13320 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
which was added erroneously and is not how code is used in tree.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13319 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13318 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
* loadv4.c: Include k5-int.h before des.h for des_read_password
prototype. Pass C_Block * to des_read_password() as per prototype.
* kdb5_util.h: Add prototype for usage.
* kdb5_create.c, kdb5_destroy.c, kdb5_stash.c: Include kdb5_util.h
for usage() prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13317 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
long arguments are present.
* kadm_rpc_svc.c: Include arpa/inet.h (if present) for inet_ntoa
prototype. Include adm_proto.h for krb5_klog_syslog() prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13316 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
(kadm_ser_init): Declare as returning int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13315 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
| |
prototype.
* main.c: Include des.h for des_init_random_number_generator()
prototype.
* network.c: Include adm_proto.h for krb5_klog_syslog()
prototype. Pass kdc_context to krb5_klog_reopen().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13314 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
| |
cache. Restore at end to previous setting. This prevents failures
caused when the krb5 cache contains valid information - as in the
case of this test being run immediately after the gssftp.exp test.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13313 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Check for unistd.h.
* server.c: Include unistd.h for getopt() prototype. Fix
rpc_test_badauth() prototype to be consistant with error
handler. Declare main as returning int. If POSIX_SIGNALS is
defined, the handler expects an argument.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13312 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
_svcauth_gssapi_set_log_XXX_func to match code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13311 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
match format string.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13310 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13309 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
* test.c: Add prototype for Tcl_ovsec_kadm_init() and Tcl_kadm5_init().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13308 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13307 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
| |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13306 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
| |
variables.
(LIBS): Quote autoconf substitution in case of space being present.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13305 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
| |
-a so that the test may successfully be run by root without failing
(i.e. root is granted ftp access) and without opening the running
ftpd to a password attack (i.e. authorization is required).
Check for successful login messages added.
* v4gssftp.exp: Same changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13304 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
* ftpd.c: Added '-U filename' option to allow specification of
an ftpusers file other than the default.
* ftpd.M: Documented the new -U option.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13303 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
| |
arguments in prototypes for valid_enctype(), valid_cksumtype(),
is_coll_proof_cksum(), is_keyed_cksum(), krb5_encrypt_size(),
krb5_checksum_size(), krb5_verify_checksum() so they match the
existing code.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13302 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
gss_buffer_desc strings are '\0' terminated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13301 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
argument to sleep to unsigned int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13300 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Explicitly declare function return types and cleanup assignments
in conditionals.
* kadm_server.c: Include kadm_server.h and cleanup assignments in
conditionals.
* kadm_server.h: Include kadm5/admin.h, kadm.h, krb_db.h for
structure defintions so that many prototypes may be added to this
file.
* kadm_stream.c: Include kadm_server.h for prototypes. Explicitly
declare functions as ints.
(stream_to_vals) Assumption made that pointer to long the same
size as krb5_ui_4 fixed.
* kadm_supp.c: Include sys/param.h early so that MAXHOSTNAMELEN is
not defined by kadm.h and later redefined. In prin_vals(),
key_high and key_low elements of the Kadm_vals structure are longs
- use an appropriate format to printf.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13299 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
realloc() to char *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13291 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
that was set in a conditional and never used afterwards.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13290 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
was set in a conditional but never used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13289 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
| |
that was set but never used.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13288 dc483132-0cff-0310-8789-dd5450dbe970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* commands.c: Include sys/wait.h, libtelent/auth.h,
libtelnet/encrypt.h for prototypes. Explicity declare functions as
returning int. Assignments in conditionals cleanup.
* externs.h: Add numerous prototypes.
* ring.c (ring_init): Explicitly declare as returning int.
* ring.h: Add prototype for ring_at_mark().
* telnet.c: Include unistd.h, libtelnet/auth.h,
libtelnet/encrypt.h for prototypes. Delcare is_unique()
static. Fix up format string for sprintf() to expect
longs. Assignments in conditionals cleaned up.
* main.c, terminal.c: Include libtelnet/encrypt.h for prototype.
* utilities.c: Include sys/socket.h, libtelent/auth.h,
libtelnet/encrypt.h for prototypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13287 dc483132-0cff-0310-8789-dd5450dbe970
|