summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * cr_tkt.c (krb_cr_tkt_int): When prototypes were changed to notEzra Peisach2000-08-141-3/+4
| | | | | | | include a narrow prototype, the flags were being sent OTW as four bytes instead of one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12621 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_PROG_INSTALL to allow the library to be installedEzra Peisach2000-08-112-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12620 dc483132-0cff-0310-8789-dd5450dbe970
* * rlogin.exp: Change RLOGIN to KRLOGIN so we do not use theEzra Peisach2000-08-102-5/+10
| | | | | | incorrect binary as used for the root login in default.exp. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12619 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add an eof clause to avoid breakage if rlogin exitsTom Yu2000-08-092-0/+11
| | | | | | too quickly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12618 dc483132-0cff-0310-8789-dd5450dbe970
* * cnv_tkt_skey.c: Fix up static prototypes forTom Yu2000-08-092-22/+28
| | | | | | | | | krb524int_krb_create_ticket(), krb524int_krb_cr_tkt_krb5(), and krb524int_krb_cr_tkt_int(), as well as their definitions, so that there aren't bare identifiers in the prototypes and so that there aren't narrow types in the definitions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12617 dc483132-0cff-0310-8789-dd5450dbe970
* Quoting of lists in mutipass variable assigments is unnecessaryEzra Peisach2000-08-082-6/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12616 dc483132-0cff-0310-8789-dd5450dbe970
* * v4standalone.exp: New set of tests for basic V4 functionalityEzra Peisach2000-08-082-0/+139
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12615 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Create krb.conf and krb.realms files for v4Ezra Peisach2000-08-082-1/+91
| | | | | | | | | compatibility. Set KRBTKFILE environment variable. Add v4_compatible_enctype() proc to test if krb4 tests are being run and if the current encryption type being tested is compatible with V4. Added v4kinit() proc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12614 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB4_RUNTESTFLAGS): Set from configure.in and passEzra Peisach2000-08-082-1/+7
| | | | | | to runtest if krb4 compatibility is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12613 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Define KRB4_DEJAGNU_TEST depending on if krb4Ezra Peisach2000-08-082-0/+12
| | | | | | support is enabled. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12612 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (read_wrapper): Copy from the current point and notEzra Peisach2000-08-082-2/+7
| | | | | | | | the start of the cached buffer. This would only be observed when the client sent the cmdchar. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12611 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Protect Quote quotation marks in multipass variableEzra Peisach2000-08-072-12/+17
| | | | | | assignments. Dejagnu (June 1999 release) fails overwise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12610 dc483132-0cff-0310-8789-dd5450dbe970
* * reference_encode.out, trval_reference.out: Test encoding ofEzra Peisach2000-08-074-8/+26
| | | | | | | | | | | negative lr_type field. * krb5_decode_test.c: Fix enc_kdc_rep_part tests to trully handle a negative lr_type in a krb5_last_req_entry structure. If KRB5_GENEROUS_LR_TYPE is defined, do a backwards compatibility test as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12609 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_k_decode.c (asn1_decode_last_req_entry): Decode the lr_typeEzra Peisach2000-08-073-1/+24
| | | | | | | | | | as an int32. Handle backwards compatibility if KRB5_GENEROUS_LR_TYPE is defined. * krbasn1.h: Define KRB5_GENEROUS_LR_TYPE for compatibility with one byte negative lr_types which are sent as a positive integer. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12608 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: lr_type element of krb5_last_req_entry needs to be aEzra Peisach2000-08-072-1/+6
| | | | | | signed int instead of an unsigned char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12607 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CHECK_SIGPROCMASK): Check for posix sigprocmaskEzra Peisach2000-08-072-5/+9
| | | | | | before a potential bsd compatible sigmask. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12606 dc483132-0cff-0310-8789-dd5450dbe970
* * ss_internal.h: Only use fake sigmask, sigblock and sigsetmask ifEzra Peisach2000-08-072-1/+9
| | | | | | USE_SIGPROCMASK is defined and not POSIX_SIGNALS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12605 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS, OBJS, STLIBOBJS): Remove util_canonhost.Ken Raeburn2000-08-043-6/+6
| | | | | | | * gssapiP_generic (g_canonicalize_host, g_local_host_name): Delete declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12604 dc483132-0cff-0310-8789-dd5450dbe970
* * listen.c (ss_quit): Now returns void. Fix type of argument ARGV to fitKen Raeburn2000-08-043-6/+14
| | | | | | | | prototype. * ss.h (ss_execute_line) [__STDC__]: Make prototype unconditional. (ss_quit): Use __SS_PROTO and return void, as with other command functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12603 dc483132-0cff-0310-8789-dd5450dbe970
* * kprop.c, kpropd.c: Compiler warning fixes including: notEzra Peisach2000-08-034-144/+197
| | | | | | | | | shadowing global variabls/functions, assignments in conditionals, declaring local functions static. * configure.in: Check for mode_t being defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12602 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c: Compiler warning cleanups by declaring functions asEzra Peisach2000-08-022-18/+21
| | | | | | | static, using existing global variables instead of trying to shadow them, and removing assignments from conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12601 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Add prototypes for tf_init(), tf_get_pname(),Ezra Peisach2000-08-022-0/+18
| | | | | | | tf_get_pinst(), tf_get_cred() and tf_close() which are all used by clients. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12600 dc483132-0cff-0310-8789-dd5450dbe970
* * tf_util.c (tf_init): Add KRB5_DLLIMP/KRB5_CALLCONV definitionsEzra Peisach2000-08-022-7/+12
| | | | | | for functions exported prototypes in krb.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12599 dc483132-0cff-0310-8789-dd5450dbe970
* * requests.c (DECLARE): Fix prototype for dispatch functions toEzra Peisach2000-08-025-9/+53
| | | | | | | | | | | | | | | | | | | | properly match what is expected by ss library. * pager.c (ss_pager_create): Cast return from fork to int for use in switch statement. * ss.h: Provide full prototype for ss_name(). Add prototypes for ss_execute_line(), ss_delete_invocation(), ss_add_info_dir(), ss_delete_info_dir(), ss_abort_subsystem(), ss_get_prompt(), ss_set_prompt(), ss_add_request_table(), ss_delete_request_table(), ss_quit(). * ss_internal.h: Made full prototypes for ss_parse(), ss_page_stdin(), ss_pagre_create(). Add prototypes for ss_self_identify(), ss_subsystem_name(), ss_subsystem_version(), ss_unimplemented(). Moved ss_execute_line() to ss.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12598 dc483132-0cff-0310-8789-dd5450dbe970
* * kdestroy.c (main): Clean up compiler warningsEzra Peisach2000-08-022-2/+7
| | | | | | There are still some warnings, but this handles the bulk of them. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12597 dc483132-0cff-0310-8789-dd5450dbe970
* * kvno.c (main): Compiler warning fixes - declare usage as static, andEzra Peisach2000-08-022-8/+20
| | | | | | break out assignments within conditionals. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12596 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf: Test with a space after ']' and '{'Ezra Peisach2000-08-023-3/+14
| | | | | | | * prof_parse.c (parse_std_line): Spaces after '{' or ']' should not be a fatal error. This is a common lossage in krb5.conf files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12595 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing krb5_cc_store_cred()Danilo Almeida2000-07-302-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12594 dc483132-0cff-0310-8789-dd5450dbe970
* kpasswd.c (main): Warnings cleanupEzra Peisach2000-07-292-16/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12593 dc483132-0cff-0310-8789-dd5450dbe970
* * sserver.c (main): Include unistd.h if present (for closeEzra Peisach2000-07-292-15/+29
| | | | | | | prototype). Change variable named sin (shadows maht library). Compiler warning cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12592 dc483132-0cff-0310-8789-dd5450dbe970
* * sclient.c: Include unistd.h if present (for close prototype).Ezra Peisach2000-07-292-16/+28
| | | | | | Change variable named sin (shadows maht library). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12591 dc483132-0cff-0310-8789-dd5450dbe970
* * utility.c: Add casts on types being sent to internal functionsEzra Peisach2000-07-295-22/+39
| | | | | | | | | | * krb5_encode_test.c: Declare internal functions as static. * ktest.c: Remove unused functions. Clean up compiler warnings. * trval.c: Add proper prototype for declared functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12590 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_mkdums.c: Remove unused quit() and compiler warning cleanupEzra Peisach2000-07-282-13/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12589 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c: Move global (to file) enctype into main to preventEzra Peisach2000-07-282-10/+7
| | | | | | being shadowed in other routines. Remove unused krb5_parse_lifetime(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12588 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c (check_princ): Compiler warning cleanup. Get ridEzra Peisach2000-07-282-14/+8
| | | | | | of unused function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12587 dc483132-0cff-0310-8789-dd5450dbe970
* t_imp_name.c: Profide full prototypes for internal functionsEzra Peisach2000-07-282-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12586 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c: Cleanup internal type warnings in calls to profile_initEzra Peisach2000-07-245-8/+23
| | | | | | | | | | | | * test_parse.c (main): Cast arguments to error_message. * prof_file.c (profile_open_file): Variable with argument to malloc should be unsigned. * profile.hin: Revert changes to const_profile_filespect_t and profile_filespec_t to preserve interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12585 dc483132-0cff-0310-8789-dd5450dbe970
* * et_c.awk: Actually define NOARGS as needed. Add prototype forEzra Peisach2000-07-242-0/+9
| | | | | | error table initiialization function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12584 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add code to handle setting of PASS to constrainTom Yu2000-07-232-9/+24
| | | | | | | | | | | multipass testing to particular passes. dejagnu-1.3 doesn't have support for PASS, so we kludge it here, though some later versions handle it by themselves. (krb_exit): Add new proc to clean up on exit. (kinit): Remove "expect \r" since "expect eof" will drain the pty buffer properly anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12583 dc483132-0cff-0310-8789-dd5450dbe970
* * accessor.c: Add NEED_SOCKETS in order to get prototype forTom Yu2000-07-232-0/+6
| | | | | | krb5_locate_kdc(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12582 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogin.c (writer): Improved bandwith efficiency by readingPeter Litwack2000-07-212-68/+162
| | | | | | | | | | | and sending more than one character at a time if multiple characters are available to be read from the terminal. * krlogin.c (read_wrapper): Added this function as a helper to writer. It facilitates checking for escape sequences (~^Z etc.) when reading mulitple characters at a time. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12581 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: For get_pw_tkt() and unix_time_gmt_unixsec() add requiredEzra Peisach2000-07-212-2/+9
| | | | | | KRB5_DLLIMP and KRB4_CALLCONV declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12580 dc483132-0cff-0310-8789-dd5450dbe970
* * g_pw_tkt.c, unix_time.c: Add KRB5_DLLIMP/KRB5_CALLCONV defintionEzra Peisach2000-07-213-1/+20
| | | | | | To be compatible with krb.h changes for windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12579 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix build so we don't try to build an extra lib.Danilo Almeida2000-07-202-7/+16
| | | | | | | Fix up krb524 build so we default to krb5's krb4 but can use an alternate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12578 dc483132-0cff-0310-8789-dd5450dbe970
* * win-pre.in: Add KRB4_INCLUDES definitionDanilo Almeida2000-07-202-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12577 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Compile .et file for krb524Danilo Almeida2000-07-202-1/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12576 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_32.def: Add krb5_cc_* functionsDanilo Almeida2000-07-202-0/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12575 dc483132-0cff-0310-8789-dd5450dbe970
* * memcache.c: Add krb_in_tkt() function to initialize ticket for aDanilo Almeida2000-07-202-0/+16
| | | | | | | | given principal. It is like in_tkt() but it is public and also takes a realm for credentials caches that require a full principal name (e.g., CCAPI). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12574 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_file.c, cc_stdio.c: Remove unused krb5_[fs]cc_default_name()Danilo Almeida2000-07-204-22/+37
| | | | | | | | prototype. * cc_stdio.c: Fix calling convention for op functions. * ccfns.c (krb5_cc_get_type): Fix calling convention. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12573 dc483132-0cff-0310-8789-dd5450dbe970
* * stdcc.h: Include k5-int.h to get krb5_ccache definitionDanilo Almeida2000-07-202-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12572 dc483132-0cff-0310-8789-dd5450dbe970