krb5.git
23 years agoUse a "struct addrlist" instead of separate count and pointer-to-pointer values
Ken Raeburn [Wed, 20 Jun 2001 00:00:05 +0000 (00:00 +0000)]
Use a "struct addrlist" instead of separate count and pointer-to-pointer values
for internal interfaces for looking up servers.  Add a new routine to free the
addrlist contents, so that memory management can be changed in one place.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13390 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kdc_util.c (ktypes2str): New function; construct a string
Tom Yu [Tue, 19 Jun 2001 20:32:12 +0000 (20:32 +0000)]
* kdc_util.c (ktypes2str): New function; construct a string
containing a list of enctypes, given a number and list of
enctypes.
(rep_etypes2str): New function; construct a string indicating all
three enctypes associated with a KDC reply.

* kdc_util.h: Add prototypes for ktypes2str() and
rep_etypes2str().

* do_as_req.c (process_as_req): Call ktypes2str() and
rep_etypes2str() as appropriate.

* do_tgs_req.c (process_tgs_req): Call ktypes2str() and
rep_etypes2str() as appropriate.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13389 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * ftpcmd.y: Cleanup potential ambiguity between comparsion and
Ezra Peisach [Tue, 19 Jun 2001 17:43:43 +0000 (17:43 +0000)]
* ftpcmd.y: Cleanup potential ambiguity between comparsion and
pre-increment for a variable.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13388 dc483132-0cff-0310-8789-dd5450dbe970

23 years agopmap_prot2.c (xdr_pmaplist): Ensure variable set before use
Ezra Peisach [Tue, 19 Jun 2001 17:37:31 +0000 (17:37 +0000)]
pmap_prot2.c (xdr_pmaplist): Ensure variable set before use

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13387 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* utility.c (printsub): Ensure variable set before use
Ezra Peisach [Tue, 19 Jun 2001 17:36:41 +0000 (17:36 +0000)]
* utility.c (printsub): Ensure variable set before use

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13386 dc483132-0cff-0310-8789-dd5450dbe970

23 years agotelnet.c (telrcv): Ensure variable set before use
Ezra Peisach [Tue, 19 Jun 2001 17:36:30 +0000 (17:36 +0000)]
telnet.c (telrcv): Ensure variable set before use

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13385 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * encrypt.c (encrypt_is): Cast arguments to printf to match format
Ezra Peisach [Mon, 18 Jun 2001 20:27:09 +0000 (20:27 +0000)]
* encrypt.c (encrypt_is): Cast arguments to printf to match format

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13384 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * dump.c (name_matches): Cleanup warning of assignments in
Ezra Peisach [Mon, 18 Jun 2001 20:26:06 +0000 (20:26 +0000)]
* dump.c (name_matches): Cleanup warning of assignments in
conditionals.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13383 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* utility.c (printdata): Cast argument to isprint() to int
Ezra Peisach [Mon, 18 Jun 2001 19:20:42 +0000 (19:20 +0000)]
* utility.c (printdata): Cast argument to isprint() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13382 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * commands.c: Cast argument to isspace() to int
Ezra Peisach [Mon, 18 Jun 2001 19:19:46 +0000 (19:19 +0000)]
* commands.c: Cast argument to isspace() to int

* telnet.c (mklist): Cast argument to islower()/toupper() to int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13381 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* genget.c (LOWER): Cast argument to isupper()/tolower() to int
Ezra Peisach [Mon, 18 Jun 2001 19:17:09 +0000 (19:17 +0000)]
* genget.c (LOWER): Cast argument to isupper()/tolower() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13380 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * gss-client.c (parse_oid): Cast argument to isdigit() to int
Ezra Peisach [Mon, 18 Jun 2001 19:15:57 +0000 (19:15 +0000)]
* gss-client.c (parse_oid): Cast argument to isdigit() to int

* gss-server.c (sign_server): Cast argument to isspace() to int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13379 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* krcp.c (sink): Cast argument to isdigit() to int
Ezra Peisach [Mon, 18 Jun 2001 19:11:35 +0000 (19:11 +0000)]
* krcp.c (sink): Cast argument to isdigit() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13378 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * sim_client.c (main): Cast argument to isupper()/tolower() to int
Ezra Peisach [Mon, 18 Jun 2001 19:09:59 +0000 (19:09 +0000)]
* sim_client.c (main): Cast argument to isupper()/tolower() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13377 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kpropd.c (authorized_principal): Cast argument to ispace() to int
Ezra Peisach [Mon, 18 Jun 2001 19:08:42 +0000 (19:08 +0000)]
* kpropd.c (authorized_principal): Cast argument to ispace() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13376 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kadm_funcs.c: Cast argument to isalnum()/isdigit() to int
Ezra Peisach [Mon, 18 Jun 2001 19:07:22 +0000 (19:07 +0000)]
* kadm_funcs.c: Cast argument to isalnum()/isdigit() to int

* acl_files.c (nuke_whitespace): Cast argument to isspace() to int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13375 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * ktutil_funcs.c (ktutil_add): Cast argument to isxdigit() to int
Ezra Peisach [Mon, 18 Jun 2001 19:04:43 +0000 (19:04 +0000)]
* ktutil_funcs.c (ktutil_add): Cast argument to isxdigit() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13374 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* getdate.y: Cast argument to isalpha()/isspace()/isdigit() to int
Ezra Peisach [Mon, 18 Jun 2001 19:03:31 +0000 (19:03 +0000)]
* getdate.y: Cast argument to isalpha()/isspace()/isdigit() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13373 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * network.c (setup_network): Cast argument to isspace() to int
Ezra Peisach [Mon, 18 Jun 2001 18:58:55 +0000 (18:58 +0000)]
* network.c (setup_network): Cast argument to isspace() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13372 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * server_misc.c (passwd_check): cast argument to
Ezra Peisach [Mon, 18 Jun 2001 18:58:00 +0000 (18:58 +0000)]
* server_misc.c (passwd_check): cast argument to
islower()/isupper(), isdigit(), ispunct() to int.

* server_acl.c (acl_parse_line): Cast argument to
isupper()/isspace() to int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13371 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * alt_prof.c (krb5_read_realm_params): Cast argument to isspace()
Ezra Peisach [Mon, 18 Jun 2001 18:54:55 +0000 (18:54 +0000)]
* alt_prof.c (krb5_read_realm_params): Cast argument to isspace()
to int.
* logger.c (krb5_klog_init): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13370 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kparse.c (strutol): Cast argument to isupper()/tolower() to int.
Ezra Peisach [Mon, 18 Jun 2001 18:52:04 +0000 (18:52 +0000)]
* kparse.c (strutol): Cast argument to isupper()/tolower() to int.
* realmofhost.c (krb_realmofhost): Likewise.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13369 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kparse.c (strutol): Cast argument to isupper()/tolower() to int
Ezra Peisach [Mon, 18 Jun 2001 18:50:23 +0000 (18:50 +0000)]
* kparse.c (strutol): Cast argument to isupper()/tolower() to int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13368 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * dump.c: Include regex.h if exists and if HAVE_REGCOMP
Ezra Peisach [Mon, 18 Jun 2001 18:28:55 +0000 (18:28 +0000)]
* dump.c: Include regex.h if exists and if HAVE_REGCOMP
defined. Preior to this, regex.h was never included.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13367 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* configure.in: Check for regex.h
Ezra Peisach [Mon, 18 Jun 2001 18:26:03 +0000 (18:26 +0000)]
* configure.in: Check for regex.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13366 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * acconfig.h: Add HAVE_REGCOMP
Ezra Peisach [Mon, 18 Jun 2001 18:25:22 +0000 (18:25 +0000)]
* acconfig.h: Add HAVE_REGCOMP

* aclocal.m4 (KRB5_AC_NEED_LIBGEN): Determins if libgen is really
needed to be linked with executables by determining if regcomp()
is missing or non-functionl and then if compile/step will be used.
(KRB5_AC_REGEX_FUNCS): Rewritten to require KRB5_AC_NEED_LIBGEN.
(KRB5_BUILD_PROGRAM): Use KRB5_AC_NEED_LIBGEN instead of testing
for compile in libgen.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13365 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * pre.in (KADM_COMM_DEPLIBS): Depend on GSSRPC_DEPLIBS and not
Ezra Peisach [Mon, 18 Jun 2001 17:08:24 +0000 (17:08 +0000)]
* pre.in (KADM_COMM_DEPLIBS): Depend on GSSRPC_DEPLIBS and not
UTIL_DEPLIB. (KADMSRC_DEPLIBS) add dependency on KDB5_DEPLIB.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13364 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * main.c (main): Cast arguments to print_status to be consitant
Ezra Peisach [Mon, 18 Jun 2001 14:13:16 +0000 (14:13 +0000)]
* main.c (main): Cast arguments to print_status to be consitant
with format string.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13363 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * loginpaths.h: If _PATH_DEFPATH is defined, undefine LPATH and
Ezra Peisach [Mon, 18 Jun 2001 14:11:34 +0000 (14:11 +0000)]
* loginpaths.h: If _PATH_DEFPATH is defined, undefine LPATH and
RPATH before redefining.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13362 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * auth_gssapi.c (auth_gssapi_create): Cast const gss_OID to
Ezra Peisach [Mon, 18 Jun 2001 14:10:36 +0000 (14:10 +0000)]
* auth_gssapi.c (auth_gssapi_create): Cast const gss_OID to
gss_OID for gssapi functions.

* xdr.c (xdr_u_int, xdr_int32, xdr_u_int32): If enumerated
operation is not XDR_ENCODE, XDR_DECODE or XDR_FREE - return FALSE
instead falling off end of function.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13361 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * accept_sec_context.c acquire_cred.c import_sec_context.c
Ezra Peisach [Mon, 18 Jun 2001 14:04:38 +0000 (14:04 +0000)]
* accept_sec_context.c acquire_cred.c import_sec_context.c
init_sec_context.c inq_cred.c: Cast const gss_OID to gss_OID for
gssapi functions which are not speced with const in the RFC.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13360 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * client_init.c (_kadm5_init_any): Add casts to (gss_OID) in calls
Ezra Peisach [Mon, 18 Jun 2001 13:59:48 +0000 (13:59 +0000)]
* client_init.c (_kadm5_init_any): Add casts to (gss_OID) in calls
to gss library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13359 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * g_pw_in_tkt.c: Include krb5.h so that des_read_password()
Ezra Peisach [Mon, 18 Jun 2001 13:58:11 +0000 (13:58 +0000)]
* g_pw_in_tkt.c: Include krb5.h so that des_read_password()
prototype is present in des.h. Cast argument to des_read_password.

* getst.c, put_svc_key.c, rd_svc_key.c, save_creds.c, tf_util.c:
Include krb4int.h for prototypes.

* krb4int.h: New file containing private prototypes for krb4
functions not used outside the library. Contains getst() and
tf_save_cred().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13358 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * logger.c (klog_vsyslog): If krb5_klog_init() is not called, do
Ezra Peisach [Mon, 18 Jun 2001 01:44:03 +0000 (01:44 +0000)]
    * logger.c (klog_vsyslog): If krb5_klog_init() is not called, do
        not pass a NULL pointer to vsprintf for a %s format. Also, if
        syslog() exists on the system, fallback to using this so the
        message is not dropped on the floor.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13357 dc483132-0cff-0310-8789-dd5450dbe970

23 years agov4krb524d.exp: New tests for the krb524d and k524init programs
Ezra Peisach [Sun, 17 Jun 2001 14:45:18 +0000 (14:45 +0000)]
v4krb524d.exp: New tests for the krb524d and k524init programs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13356 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * default.exp: Add an entry for krb524_server for the localhost
Ezra Peisach [Sun, 17 Jun 2001 14:43:42 +0000 (14:43 +0000)]
    * default.exp: Add an entry for krb524_server for the localhost
        with a non-standard port number.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13355 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from tgt
Ken Raeburn [Sat, 16 Jun 2001 09:28:08 +0000 (09:28 +0000)]
* fwd_tgt.c (krb5_fwd_tgt_creds): Copy enctype for new creds from tgt

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13354 dc483132-0cff-0310-8789-dd5450dbe970

23 years agoupdated
Ken Raeburn [Sat, 16 Jun 2001 02:24:12 +0000 (02:24 +0000)]
updated

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13353 dc483132-0cff-0310-8789-dd5450dbe970

23 years agogetsyms: Fix quoting around find command looking for configure.in files; sort list
Ken Raeburn [Sat, 16 Jun 2001 02:23:46 +0000 (02:23 +0000)]
getsyms: Fix quoting around find command looking for configure.in files; sort list

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13352 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * ftpcmd.y, ftpd.c: Cast argument to isspace()/isdigit() to int
Ezra Peisach [Fri, 15 Jun 2001 19:13:44 +0000 (19:13 +0000)]
    * ftpcmd.y, ftpd.c: Cast argument to isspace()/isdigit() to int

        * secure.h (SESSION): Pass pointer to C_Block as expected by
        krb5_mk_priv().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13351 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * cmds.c, domacro.c: Cast arguments to isspace() and isdigit()
Ezra Peisach [Fri, 15 Jun 2001 18:58:55 +0000 (18:58 +0000)]
* cmds.c, domacro.c: Cast arguments to isspace() and isdigit()
from char to int.

* ftp.c: krb5_mk_priv(), krb5_mk_safe() expect C_Block *.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13350 dc483132-0cff-0310-8789-dd5450dbe970

23 years agoupdate profile section name in comments to reflect reality and other docs
Ken Raeburn [Fri, 15 Jun 2001 06:10:32 +0000 (06:10 +0000)]
update profile section name in comments to reflect reality and other docs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13349 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * resolve.c (main): Make error message note that misconfiguration
Tom Yu [Tue, 12 Jun 2001 21:50:23 +0000 (21:50 +0000)]
* resolve.c (main): Make error message note that misconfiguration
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

23 years ago * destest.c: main returns int instead of void. Add "const" to
Ezra Peisach [Tue, 12 Jun 2001 15:14:49 +0000 (15:14 +0000)]
* destest.c: main returns int instead of void.  Add "const" to
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

23 years ago * t_mddriver.c: Cleanup assignments in conditionals w/o parentheses.
Ezra Peisach [Tue, 12 Jun 2001 15:14:32 +0000 (15:14 +0000)]
* t_mddriver.c: Cleanup assignments in conditionals w/o parentheses.
Add parenthesis abount structure initializers.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13341 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries
Ezra Peisach [Tue, 12 Jun 2001 15:02:34 +0000 (15:02 +0000)]
* Makefile.in (t_walk_rtree, t_kerb): Do not link against kdb libraries
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

23 years ago * sn2princ.c, hst_realm.c, an_to_ln.c: Cast argument to
Ezra Peisach [Tue, 12 Jun 2001 15:01:57 +0000 (15:01 +0000)]
* sn2princ.c, hst_realm.c, an_to_ln.c: Cast argument to
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

23 years ago * asn1_k_decode.c (asn1_decode_predicted_sam_response): Use
Ezra Peisach [Tue, 12 Jun 2001 15:00:40 +0000 (15:00 +0000)]
* asn1_k_decode.c (asn1_decode_predicted_sam_response): Use
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

23 years ago * test_profile.c: Include <string.h> for strcmp() prototype
Ezra Peisach [Mon, 11 Jun 2001 22:52:57 +0000 (22:52 +0000)]
* test_profile.c: Include <string.h> for strcmp() prototype

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13337 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * pty-int.h: Provide revoke() prototype if system headers lacking
Ezra Peisach [Mon, 11 Jun 2001 22:32:19 +0000 (22:32 +0000)]
* pty-int.h: Provide revoke() prototype if system headers lacking

* 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

23 years ago * argv_parse.c (argv_parse): Cast argument to isspace() as int.
Ezra Peisach [Mon, 11 Jun 2001 21:55:49 +0000 (21:55 +0000)]
* argv_parse.c (argv_parse): Cast argument to isspace() as int.
* 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

23 years ago * configure.in (SETENVOBJ): If setenv is not present on system,
Ezra Peisach [Mon, 11 Jun 2001 20:10:01 +0000 (20:10 +0000)]
* configure.in (SETENVOBJ): If setenv is not present on system,
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

23 years ago * compat_recv.c: Include k5-util.h to ensure new prototypes agree
Ezra Peisach [Mon, 11 Jun 2001 20:03:44 +0000 (20:03 +0000)]
* compat_recv.c: Include k5-util.h to ensure new prototypes agree
with definitions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13333 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * k5-util.h: Add prototypes for krb5_compat_recvauth_version() and
Ezra Peisach [Mon, 11 Jun 2001 20:01:20 +0000 (20:01 +0000)]
* k5-util.h: Add prototypes for krb5_compat_recvauth_version() and
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

23 years ago * sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitions
Ezra Peisach [Mon, 11 Jun 2001 19:59:34 +0000 (19:59 +0000)]
* sendauth.c (krb_sendauth): Add KRB5_DLLIMP/KRB5_CALLCONV definitions
for function with exported prototype in krb.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13331 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * krb.h: Add prototype for krb_sendauth()
Ezra Peisach [Mon, 11 Jun 2001 19:58:31 +0000 (19:58 +0000)]
* krb.h: Add prototype for krb_sendauth()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13330 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * Makefile.in (MLIBS): Do not link against libgen.a for test
Ezra Peisach [Mon, 11 Jun 2001 19:56:05 +0000 (19:56 +0000)]
* Makefile.in (MLIBS): Do not link against libgen.a for test
programs. (only needed for krb5 an_to_ln code).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13329 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * setenv.c: Add prototype for _findenv to avoid inconsistancy of
Ezra Peisach [Mon, 11 Jun 2001 16:14:23 +0000 (16:14 +0000)]
* setenv.c: Add prototype for _findenv to avoid inconsistancy of
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

23 years ago * str_conv.c: If strptime() is present on system without a
Ezra Peisach [Mon, 11 Jun 2001 15:18:40 +0000 (15:18 +0000)]
* str_conv.c: If strptime() is present on system without a
prototype, provide one.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13327 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * configure.in: Test for strptime() prototype. Debian linux has
Ezra Peisach [Mon, 11 Jun 2001 15:17:54 +0000 (15:17 +0000)]
* configure.in: Test for strptime() prototype. Debian linux has
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

23 years ago * configure.in: Check for system provided getutmp() prototype
Ezra Peisach [Mon, 11 Jun 2001 15:16:42 +0000 (15:16 +0000)]
* configure.in: Check for system provided getutmp() prototype

* update_wtmp.c: Provide prototype for getutmp() if needed.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13325 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * aclocal.m4 (KRB5_NEED_PROTO): Determines if the OS provides a
Ezra Peisach [Mon, 11 Jun 2001 15:14:32 +0000 (15:14 +0000)]
* aclocal.m4 (KRB5_NEED_PROTO): Determines if the OS provides a
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

23 years ago * kinit.c (k4_begin): Cleanup assignment in conditional warning
Ezra Peisach [Mon, 11 Jun 2001 14:51:34 +0000 (14:51 +0000)]
* kinit.c (k4_begin): Cleanup assignment in conditional warning

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13323 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kadm_supp.c: Include string.h for strncpy() prototype
Ezra Peisach [Mon, 11 Jun 2001 14:50:21 +0000 (14:50 +0000)]
* kadm_supp.c: Include string.h for strncpy() prototype

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13322 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * krshd.c: Include <grp.h>, <libpty.h>, and <sys/wait.h> for
Ezra Peisach [Mon, 11 Jun 2001 14:49:37 +0000 (14:49 +0000)]
* krshd.c: Include <grp.h>, <libpty.h>, and <sys/wait.h> for
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

23 years ago * krb.h: Add "internal" prototypes cr_err_reply(), create_ciph(),
Ezra Peisach [Fri, 8 Jun 2001 20:27:29 +0000 (20:27 +0000)]
* krb.h: Add "internal" prototypes cr_err_reply(), create_ciph(),
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

23 years ago * cr_tkt.c (krb_create_ticket): Get rid of last argument (k5key)
Ezra Peisach [Fri, 8 Jun 2001 20:25:33 +0000 (20:25 +0000)]
* cr_tkt.c (krb_create_ticket): Get rid of last argument (k5key)
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

23 years ago * configure.in: Test for existance of arpa/inet.h
Ezra Peisach [Fri, 8 Jun 2001 20:23:26 +0000 (20:23 +0000)]
* configure.in: Test for existance of arpa/inet.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13318 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * dumpv4.c: Pass C_Block * to des_read_password() as per prototype
Ezra Peisach [Fri, 8 Jun 2001 20:22:46 +0000 (20:22 +0000)]
* dumpv4.c: Pass C_Block * to des_read_password() as per prototype

* 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

23 years ago * ovsec_kadmd.c (main): Make format string to sprintf specify that
Ezra Peisach [Fri, 8 Jun 2001 20:22:00 +0000 (20:22 +0000)]
* ovsec_kadmd.c (main): Make format string to sprintf specify that
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

23 years ago kdm_ser_wrap.c: Argument to quad_cksum is C_Block * - not C_Block.
Ezra Peisach [Fri, 8 Jun 2001 20:21:16 +0000 (20:21 +0000)]
kdm_ser_wrap.c: Argument to quad_cksum is C_Block * - not C_Block.
(kadm_ser_init): Declare as returning int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13315 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kdc_preauth.c: Include adm_proto.h for krb5_klog_syslog()
Ezra Peisach [Fri, 8 Jun 2001 18:18:58 +0000 (18:18 +0000)]
* kdc_preauth.c: Include adm_proto.h for krb5_klog_syslog()
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

23 years ago * v4gssftp.exp: During test, set KRB5CCNAME to a non-existant
Ezra Peisach [Fri, 8 Jun 2001 17:19:02 +0000 (17:19 +0000)]
* v4gssftp.exp: During test, set KRB5CCNAME to a non-existant
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

23 years ago * client.c: Include unistd.h for getopt() prototype
Ezra Peisach [Fri, 8 Jun 2001 16:12:07 +0000 (16:12 +0000)]
* client.c: Include unistd.h for getopt() prototype

* 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

23 years ago * auth_gssapi.h: Rename prototypes from _svcauth_set_log_XXX_func to
Ezra Peisach [Fri, 8 Jun 2001 16:08:12 +0000 (16:08 +0000)]
* auth_gssapi.h: Rename prototypes from _svcauth_set_log_XXX_func to
_svcauth_gssapi_set_log_XXX_func to match code.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13311 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * ad_print.c (ad_print): Cast arguments to printf() to longs to
Ezra Peisach [Fri, 8 Jun 2001 15:58:40 +0000 (15:58 +0000)]
* ad_print.c (ad_print): Cast arguments to printf() to longs to
match format string.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13310 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * svr_principal.c (check_pw_reuse): Cleanup assignment in conditional
Ezra Peisach [Fri, 8 Jun 2001 15:57:43 +0000 (15:57 +0000)]
* svr_principal.c (check_pw_reuse): Cleanup assignment in conditional

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13309 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * tcl_kadm5.c: Cleanup assignments in conditionals
Ezra Peisach [Fri, 8 Jun 2001 15:53:45 +0000 (15:53 +0000)]
* tcl_kadm5.c: Cleanup assignments in conditionals

* 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

23 years agoInclude unistd.h (if present) for getopt() prototype
Ezra Peisach [Fri, 8 Jun 2001 15:51:40 +0000 (15:51 +0000)]
Include unistd.h (if present) for getopt() prototype

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13307 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * main.c: Include unistd.h (if present) for getopt() prototype
Ezra Peisach [Fri, 8 Jun 2001 15:49:48 +0000 (15:49 +0000)]
* main.c: Include unistd.h (if present) for getopt() prototype

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13306 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * krb5-config.in (CC_LINK): Use ' vs " to prevent bash expansion of
Ezra Peisach [Fri, 8 Jun 2001 15:48:01 +0000 (15:48 +0000)]
* krb5-config.in (CC_LINK): Use ' vs " to prevent bash expansion of
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

23 years ago* gssftp.exp: Invocation of ftpd changed to use -U /dev/null and
Mitchell Berger [Fri, 8 Jun 2001 04:23:45 +0000 (04:23 +0000)]
* gssftp.exp: Invocation of ftpd changed to use -U /dev/null and
-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

23 years ago* pathnames.h: _PATH_FTPUSERS renamed to _PATH_FTPUSERS_DEFAULT
Mitchell Berger [Fri, 8 Jun 2001 04:17:45 +0000 (04:17 +0000)]
* pathnames.h: _PATH_FTPUSERS renamed to _PATH_FTPUSERS_DEFAULT

* 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

23 years ago * krb5.hin: Get rid of extraneous krb5_const before integer
Ezra Peisach [Thu, 7 Jun 2001 22:36:55 +0000 (22:36 +0000)]
* krb5.hin: Get rid of extraneous krb5_const before integer
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

23 years ago * server.c (log_badauth_display_status_1): Do not assume that
Ezra Peisach [Thu, 7 Jun 2001 22:33:00 +0000 (22:33 +0000)]
* server.c (log_badauth_display_status_1): Do not assume that
gss_buffer_desc strings are '\0' terminated.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13301 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * kerberos_v4.c: Get rid of file wide static krb5_error_code. Cast
Ezra Peisach [Thu, 7 Jun 2001 21:59:55 +0000 (21:59 +0000)]
* kerberos_v4.c: Get rid of file wide static krb5_error_code. Cast
argument to sleep to unsigned int.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13300 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * acl_files.c, admin_server.c, kadm_funcs.c, kadm_ser_wrap.c:
Ezra Peisach [Thu, 7 Jun 2001 21:55:47 +0000 (21:55 +0000)]
* acl_files.c, admin_server.c, kadm_funcs.c, kadm_ser_wrap.c:
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

23 years ago * request_tbl.c (ss_add_request_table): Do not cast argument to
Ezra Peisach [Thu, 7 Jun 2001 17:59:39 +0000 (17:59 +0000)]
* request_tbl.c (ss_add_request_table): Do not cast argument to
realloc() to char *.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13291 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
Ezra Peisach [Thu, 7 Jun 2001 17:51:04 +0000 (17:51 +0000)]
* vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
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

23 years ago * ktdefname.c (krb5_kt_default_name): Get rid of a variable that
Ezra Peisach [Thu, 7 Jun 2001 17:50:05 +0000 (17:50 +0000)]
* ktdefname.c (krb5_kt_default_name): Get rid of a variable that
was set in a conditional but never used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13289 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * ser_sctx.c (kg_oid_internalize): Do away with local variable
Ezra Peisach [Thu, 7 Jun 2001 17:48:07 +0000 (17:48 +0000)]
* ser_sctx.c (kg_oid_internalize): Do away with local variable
that was set but never used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13288 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * authenc.c (telnet_gets): Cleanup assignment in conditional
Ezra Peisach [Thu, 7 Jun 2001 17:40:17 +0000 (17:40 +0000)]
* authenc.c (telnet_gets): Cleanup assignment in conditional

* 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

23 years ago * ext.h: Remove unused prototype for start_slave() and replace
Ezra Peisach [Thu, 7 Jun 2001 17:05:31 +0000 (17:05 +0000)]
* ext.h: Remove unused prototype for start_slave() and replace
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

23 years ago * auth-proto.h: Add prototype for kerberos5_cleanup()
Ezra Peisach [Thu, 7 Jun 2001 17:00:34 +0000 (17:00 +0000)]
* auth-proto.h: Add prototype for kerberos5_cleanup()

* 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

23 years ago * k5-int.h: Remove AS_REP_105_SAM_COMPAT definition. Not used in
Ezra Peisach [Thu, 7 Jun 2001 15:17:19 +0000 (15:17 +0000)]
* k5-int.h: Remove AS_REP_105_SAM_COMPAT definition. Not used in
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

23 years agoMakefile.in ($(srcdir)/krb5/autoconf.h.in): New target; rebuild using autoheader
Ken Raeburn [Wed, 6 Jun 2001 22:31:48 +0000 (22:31 +0000)]
Makefile.in ($(srcdir)/krb5/autoconf.h.in): New target; rebuild using autoheader

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13283 dc483132-0cff-0310-8789-dd5450dbe970

23 years agoaclocal.m4 (CONFIG_RULES): Set and substitute AUTOHEADER and AUTOHEADERFLAGS
Ken Raeburn [Wed, 6 Jun 2001 22:25:22 +0000 (22:25 +0000)]
aclocal.m4 (CONFIG_RULES): Set and substitute AUTOHEADER and AUTOHEADERFLAGS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13282 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago* pre.in (AUTOHEADER, AUTOHEADERFLAGS): New variables
Ken Raeburn [Wed, 6 Jun 2001 22:16:00 +0000 (22:16 +0000)]
* pre.in (AUTOHEADER, AUTOHEADERFLAGS): New variables

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13281 dc483132-0cff-0310-8789-dd5450dbe970

23 years ago * auth-proto.h: Add prototypes for getauthmask(), auth_enable,
Ezra Peisach [Wed, 6 Jun 2001 21:21:53 +0000 (21:21 +0000)]
* auth-proto.h: Add prototypes for getauthmask(), auth_enable,
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

23 years agoFix up small typo in lat set of commits
Ezra Peisach [Wed, 6 Jun 2001 18:57:39 +0000 (18:57 +0000)]
Fix up small typo in lat set of commits

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13279 dc483132-0cff-0310-8789-dd5450dbe970