summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: Use AC_C_CONST instead of AC_CONST andEzra Peisach2000-11-012-2/+7
| | | | | | AC_CHECK_FUNCS instead of AC_HAVE_FUNCS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12829 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Change AC_RETSIGTYPE to AC_TYPE_SIGNALEzra Peisach2000-11-012-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12828 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Change AC_CONST to AC_C_CONST, AC_HEADER_EGREP toEzra Peisach2000-11-012-3/+9
| | | | | | | AC_EGREP_HEADER, AC_HAVE_HEADERS to AC_CHECK_HEADERS. Updates to autoconf 2 namespace. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12827 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Newer versions of autoconf are moreEzra Peisach2000-10-312-8/+14
| | | | | | | sensative to using macros within macros without quoting. Quote AC_CHECK_LIB calls within AC_CHECK_LIB macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12826 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_stdio.c: Add a "mode" field to krb5_scc_data to keep track ofTom Yu2000-10-312-0/+18
| | | | | | | | | | | what mode the file was opened in. (krb5_scc_close_file): Ignore EBADF from fflush() if the file was opened for readonly access. For some reason NetBSD's fflush() exhibits this behavior. (krb5_scc_open_file): Save the mode with which the file was opened in data->mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12825 dc483132-0cff-0310-8789-dd5450dbe970
* * reconf: Pass "-m util/autoconf" to autoreconf only if we areEzra Peisach2000-10-272-2/+9
| | | | | | | | | | using the source trees version of autoconf. If we trust the installed version of autoconf, we should use their macros. Performance boost of 2x in autoconfing the tree through use of frozen m4 files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12820 dc483132-0cff-0310-8789-dd5450dbe970
* *post.in (Makefile): When running autoconf, use AUTOCONFFLAGSEzra Peisach2000-10-273-2/+9
| | | | | | | | instead of always specificying the trees macrodir. * pre.in (AUTOCONFFLAGS): Add as flags to pass to autoconf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12819 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in (Makefile): When running autoconf, use AUTOCONFFLAGSEzra Peisach2000-10-272-0/+8
| | | | | | | | instead of always specificying the trees macrodir. * pre.in (AUTOCONFFLAGS): Add as flags to pass to autoconf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12818 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add new test cases for indefiniteTom Yu2000-10-262-10/+111
| | | | | | | length ticket and as_rep. Fix up calls to decode_run() to have the modifier be in the description parameter. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12817 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.c (asn1buf_sync): Add new arguments to include the fullTom Yu2000-10-266-71/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | complement of data about a prefetched tag, as well as to indicate whether the prefetched tag or the surrounding sequence is of an indefinite length. (asn1buf_skiptail): Add new arguments to indicate whether the prefetched tag is indefinite, as well as its length. This facilitates proper skipping of trailing garbage. (asn1buf_remains): Add new argument to indicate whether the surrounding encoding is indefinite. Don't advance buf->next if an EOC encoding is detected; the caller will do that. * asn1buf.h: Update prototypes. * asn1_get.c (asn1_get_tag_indef): Don't treat EOC encoding as special anymore, since previous behavior was overloading the tag number in a bad way. Also, report a MISMATCH_INDEF error if the tag encoding is for the forbidden primitive constructed encoding. * asn1_k_decode.c (next_tag): Call get_tag_indef() in order to get information about whether the length is indefinite. Don't check the tag class and construction explicitly. (get_eoc): New macro to get a tag and check if it is an EOC encoding. (get_field, opt_field): Move the check for the tag class and construction to here. (get_field_body, get_lenfield_body): Call get_eoc() instead of next_tag() if we are decoding a constructed indefinite encoding. (begin_structure): Use a different variable to indicate whether the sequence is indefinite as opposed to whether an individual field is indefinite. (end_structure): Update to new calling convention of asn1buf_sync(). (sequence_of): Rewrite significantly. (sequence_of_common): Move the bulk of previous sequence_of() macro to here. Does not declare some variables that sequence_of() declares. (sequence_of_no_tagvars): Similar to sequence_of() macro but declares different variables for the purpose of prefetching the final tag. (end_sequence_of_no_tagvars): Similar to end_sequence_of() macro but uses variables declared by the sequence_of_no_tagvars() macro to prefetch the final tag. (asn1_decode_principal_name): Update for new asn1buf_remains() calling convention. Call sequence_of_no_tagvars(), etc. instead of sequence_of(), etc. in order to not declare shadowing block-local variables. (decode_array_body): Update for new asn1buf_remains() calling convention. (asn1_decode_sequence_of_enctype): Update for new asn1buf_remains() calling convention. * krb5_decode.c (next_tag): Call get_tag_indef() in order to get information about whether the length is indefinite. Don't check the tag class and construction explicitly. (get_eoc): New macro to get a tag and check if it is an EOC encoding. (get_field, opt_field): Move the check for the tag class and construction to here. (get_field_body, get_lenfield_body): Call get_eoc() instead of next_tag() if we are decoding a constructed indefinite encoding. (begin_structure): Use a different variable to indicate whether the sequence is indefinite as opposed to whether an individual field is indefinite. (end_structure): Update to new calling convention of asn1buf_sync(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12816 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1_err.et: Add error codes MISMATCH_INDEF and MISSING_EOCTom Yu2000-10-262-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12815 dc483132-0cff-0310-8789-dd5450dbe970
* * t_ser.c: Cast getpid() calls to int as arguments to sprintfEzra Peisach2000-10-2610-23/+48
| | | | | | | | | | | | | | | | | | * ser_actx.c: Move prototypes (listed below) to int-proto.h * int-proto.h: Add prototypes for krb5_ser_authdata_init, krb5_ser_address_init, krb5_ser_authenticator_init, krb5_ser_checksum_init, krb5_ser_keyblock_init, krb5_ser_principal_init. * ser_adata.c, ser_addr.c, ser_auth.c, ser_cksum.c, ser_key.c, ser_princ.c: Include int-proto.h for prototypes. By moving the prototypes to int-proto.h, it ndles the gcc warning on missing prototypes. These functions are intenal and all used by krb5_ser_auth_context_init() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12814 dc483132-0cff-0310-8789-dd5450dbe970
* #include autoconf.h instead of duplicating definesMiro Jurisic2000-10-241-3/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12809 dc483132-0cff-0310-8789-dd5450dbe970
* * kadm_ser_wrap.c (kadm_ser_in): Update call to mk_priv()Tom Yu2000-10-242-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12808 dc483132-0cff-0310-8789-dd5450dbe970
* * secure.h: Change SESSION to refer to &cred.session instead, soTom Yu2000-10-242-1/+7
| | | | | | | as to have the correct pointer type when passed to {mk,rd}_{safe,priv}() functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12807 dc483132-0cff-0310-8789-dd5450dbe970
* * compat_recv.c (krb_v4_recvauth): Update call to mk_priv()Tom Yu2000-10-242-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12806 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_auth.c (krb_check_auth): Modify call to rd_priv() by kludgingTom Yu2000-10-247-10/+27
| | | | | | | | | | | | | | | | | | a cast of session key to C_Block *, since CNS is inconsistent in this area as well. * mk_priv.c (krb_mk_priv): Align with CNS by taking C_Block *. * mk_safe.c (krb_mk_safe): Align with CNS by taking C_Block *. * rd_priv.c (krb_rd_priv): Align with CNS by taking C_Block *. * rd_safe.c (krb_rd_safe): Align with CNS by taking C_Block *. * recvauth.c (krb_recvauth): Update call to mk_priv() to have the correct type. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12805 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Modify krb_{mk,rd}_{priv,safe} prototypes to align withTom Yu2000-10-242-4/+10
| | | | | | CNS, mostly by making them take C_Block * arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12804 dc483132-0cff-0310-8789-dd5450dbe970
* * library.tex: Update to latex2e. Include krb5idx.styEzra Peisach2000-10-185-4/+63
| | | | | | | | | | | | | * Makefile (lib1.stamp): Use makeindex to generate index instead of an antiquated texindex program - which is not the same texindex as in the texinfo package. * krb5idx.sty: Style for generating indexes. Provides definitions for use with krb5.ist. * krb5.ist: makeindex macros. Based on gind.ist. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12802 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.tex: krb5_unparse_name_ext(), krb5_build_principal(),Ezra Peisach2000-10-174-9/+20
| | | | | | | | | | | | krb5_build_principal_va, krb5_build_printicpal_ext() use unsigned ints. * libos.tex: krb5_read_password() takes an unsigned int * as the final argument. * keytab.tex: krb5_kt_get_name() takes an unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12801 dc483132-0cff-0310-8789-dd5450dbe970
* * kpasswd.c (main): Argument to krb5_read_password takes anEzra Peisach2000-10-172-3/+8
| | | | | | unsigned int as argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12800 dc483132-0cff-0310-8789-dd5450dbe970
* * krb_auth_su.c (krb5_get_tkt_via_passwd): Argument toEzra Peisach2000-10-172-1/+6
| | | | | | krb5_read_password now takes an unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12799 dc483132-0cff-0310-8789-dd5450dbe970
* * klist.c (one_addr): gethostbyaddr takes an int as second argumentEzra Peisach2000-10-172-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12798 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (k4_kinit): Argument to krb5_read_password takes asEzra Peisach2000-10-172-1/+6
| | | | | | unsigned int as argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12797 dc483132-0cff-0310-8789-dd5450dbe970
* * ftpd.c (reply): For gssapi connection, do not include NULL inEzra Peisach2000-10-172-1/+6
| | | | | | sealed reply string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12796 dc483132-0cff-0310-8789-dd5450dbe970
* * login.c (k5_get_password): Declare second argument as unsignedEzra Peisach2000-10-172-0/+6
| | | | | | int length. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12795 dc483132-0cff-0310-8789-dd5450dbe970
* * adm_conn.c, kpasswd.c: Argument to krb5_read_passwordEzra Peisach2000-10-175-4/+12
| | | | | | | | | takes an unsigned int. * kadm5_defs.h, main.c (pwd_change): Argument err_str_len changed to unsigned int. (Argument to kadm5_chpass_principal_util()). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12794 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (do_schpw): Cast arguments to sendto() which take intEzra Peisach2000-10-172-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12793 dc483132-0cff-0310-8789-dd5450dbe970
* * tty_kpasswd.c (read_old_password): Argument pwsize changed toEzra Peisach2000-10-172-1/+6
| | | | | | unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12792 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_create.c (kdb5_create): Argument to krb5_read_passwordEzra Peisach2000-10-172-1/+6
| | | | | | changed to unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12791 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.c (kadmin_cpw): Argument to krb5_read_password changed toEzra Peisach2000-10-172-2/+7
| | | | | | unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12790 dc483132-0cff-0310-8789-dd5450dbe970
* * ktest.c (ktest_make_sample_etype_info): Use KRB5_ETYPE_NO_SALTEzra Peisach2000-10-176-9/+31
| | | | | | | | | | | | | | | | | | | | | instead of -1. * ktest_equal.c (ktest_equal_krb5_etype_info_entry): Test for KRB5_ETYPE_NO_SALT. ktest_equal_array_of_octet() and ktest_equal_array_of_char take unsigned int lengths. * ktest_equal.h: Add len_unsigned_array macro for a prototype of a function taking an unsigned int count. ktest_equal_array_of_octet() is one of these. ktest_equal_array_of_char() takes an unsigned int as length. * trval.c (trval): Unsigned/signed int fix. * utility.c (asn1_krb5_data_unparse): Better test for krb5_data length being less than zero. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12789 dc483132-0cff-0310-8789-dd5450dbe970
* * encode.c, krb524.h: encode_v4tkt() and decode_v4tkt() now takeEzra Peisach2000-10-175-10/+21
| | | | | | | | | | | | unsigned int * lengths. * krb524d.c (do_connection): Cast length fields in recvfrom() and sendto() calls to int. * sendmsg.c (krb524_sendto_kdc): Cast length fields in recv() and send() calls to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12788 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc_preauth.c (get_etype_info): Initialize length ofEzra Peisach2000-10-174-4/+16
| | | | | | | | | | | | | etype_info_entry to KRB5_ETYPE_NO_SALT. Before copying salt into etype_info_entry, test that salt length (from get_salt_from_key()) is not SALT_TYPE_NO_LENGTH. * kdc_util.c (get_salt_from_key): Initialize salt type to SALT_TYPE_NO_LENGTH (instead of -1). * network.c (process_packet): Cast length in sendto() call to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12787 dc483132-0cff-0310-8789-dd5450dbe970
* * clnt_chpass_util.c (kadm5_chpass_principal_util): Change msg_lenEzra Peisach2000-10-172-1/+6
| | | | | | to unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12786 dc483132-0cff-0310-8789-dd5450dbe970
* * svr_chpass_util.c (kadm5_chpass_principal_util): Change msg_lenEzra Peisach2000-10-172-1/+6
| | | | | | to unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12785 dc483132-0cff-0310-8789-dd5450dbe970
* * admin.h (KADM5_PW_FIRST_PROMPT): Get rid of casts fromEzra Peisach2000-10-174-6/+19
| | | | | | | | | | | | | error_message to char * - leave them as const char *. (kadm5_chpass_principal_util): Argument msg_len is unsigned int. * admin_internal.h (_kadm5_chpass_principal_util): msg_len is unsigned int. * chpass_util.c (_kadm5_chpass_principal_util): Change msg_len to unsigned int. Arhument to krb5_read_password is unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12784 dc483132-0cff-0310-8789-dd5450dbe970
* * changepw.c: Cast length argument to recvfrom/sendto to intEzra Peisach2000-10-1711-25/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | * os-proto.h: Moved extern definition of krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1 here. * accessor.c: Definition for krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1 moved to os-proto.h * osconfig.c: Changed definition for krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1 to unsigned int. * get_krbhst.c, init_os_context.c, locate_kdc.c, prompter.c: Unsigned/signed int cleanup. * read_pwd.c (krb5_read_password): Change size_return to unsigned int *. * sendto_kdc.c: Remove definition for krb5_max_dgram_size, krb5_max_skdc_timeout, krb5_skdc_timeout_shift, krb5_skdc_timeout_1. (moved to os-proto.h). Cast arguments to int for send() and recv(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12783 dc483132-0cff-0310-8789-dd5450dbe970
* * bld_pr_ext.c, bld_princ.c (krb5_build_principal_ext,Ezra Peisach2000-10-1717-36/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | krb5_build_principal_va, krb5_build_principal): Take an unsigned int realm length. * get_in_tkt.c (krb5_get_init_creds): Use SALT_TYPE_AFS_LENGTH instead of -1. * gic_pwd.c (krb5_get_as_key_password): Use SALT_TYPE_AFS_LENGTH instead of -1. * in_tkt_pwd.c (pwd_keyproc): Argument to krb5_read_password is unsigned int. * pr_to_salt.c (krb5_principal2salt_internal): Declare as static. Unsigned int fix. * preauth.c (krb5_obtain_padata): Use SALT_TYPE_AFS_LENGTH instead of -1. * preauth2.c (pa_salt): Use SALT_TYPE_AFS_LENGTH instead of -1. * conv_princ.c, copy_auth.c, copy_princ.c, gc_frm_kdc.c, parse.c, send_tgs.c, srv_rcache.c: Unsigned/signed int cleanup. * unparse.c (krb5_unparse_name_ext): size parameter changed to unsigned int *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12782 dc483132-0cff-0310-8789-dd5450dbe970
* * ktbase.c (krb5_kt_resolve): Signed/unsigned intEzra Peisach2000-10-179-18/+44
| | | | | | cleanups. Maintain const char * attribute of incomming name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12781 dc483132-0cff-0310-8789-dd5450dbe970
* * cc_stdio.c, cc_file.c: Unsigned/signed int cleanupEzra Peisach2000-10-173-32/+86
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12780 dc483132-0cff-0310-8789-dd5450dbe970
* * asn1buf.h: Lengths are now unsigned int forEzra Peisach2000-10-1716-190/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | asn1buf_ensure_space(), asn1buf_expand(), asn1buf_imbed(), asn1buf_sync(), asn1buf_insert_octetstring(), asn1buf_insert_charstring(), asn1_remove_octetstring(), asn1buf_remove_charstring(), * krb5_decode.c, krb5_encode.c: Length fields are unsigned ints. * asn1_make.c, asn1_make.h: Prototypes changed to use an unsigned int * in_len and retlen for: asn1_make_etag(), asn1_make_tag(), asn1_make_sequence(), asn1_make_set(), asn1_make_string(), asn1_make_length(), asn1_make_id(). * asn1_k_encode.h, asn1_k_encode.c: Change length fields to unsigned ints for all functions. (asn1_encode_etype_info_entry): Test for KRB5_ETYPE_NO_SALT instead of -1. * asn1_k_decode.c (asn1_decode_etype_info_entry): Use a length of KRB5_ETYPE_NO_SALT to indicate the optional salt not being present. (instead of -1). (setup): Length is now unsigned int. * asn1_get.c, asn1_get.h: Change retlent to unsigned int * for asn1_get_tag(), asn1_get_tag_indef(), asn1_get_sequence, asn1_get_length(). * asn1_encode.c, asn1_encode.h: Change retlen to unsigned int * for asn1_encode_integer(), asn1_encode_unsigned_integer(), asn1_encode_octetstring(), asn1_encode_charstring(), asn1_encode_printable_string(), asn1_encode_ia5string(), asn1_encode_generaltime(), asn1_encode_generalstring() * asn1_decode.c, asn1_decode.h: Change retlen to unsigned int * for asn1_decode_octetstring(), asn1_decode_generalstring(), asn1_decode_charstring(), git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12779 dc483132-0cff-0310-8789-dd5450dbe970
* * fetch_mkey.c: Signed/unsigned int cleanupEzra Peisach2000-10-173-12/+17
| | | | | | | * kdb_cpw.c (add_key_pwd): Change salt data length of -1 to SALT_TYPE_AFS_LENGTH. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12778 dc483132-0cff-0310-8789-dd5450dbe970
* * cksum.c (des_cbc_cksum): Length is unsigned longEzra Peisach2000-10-173-2/+8
| | | | | | * enc_dec.c (des_cbc_encrypt): Length is unsigned long. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12777 dc483132-0cff-0310-8789-dd5450dbe970
* * nfold.c (krb5_nfold): inbots and outbits are now unsigned intEzra Peisach2000-10-173-3/+9
| | | | | | * prng.c: Local variable random_count is now unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12776 dc483132-0cff-0310-8789-dd5450dbe970
* * hash_sha1.c (k5_sha1_hash): Cast length field in shsUpdate callEzra Peisach2000-10-172-1/+6
| | | | | | to int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12775 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: Change prototypes for mit_des_cbc_encrypt(),Ezra Peisach2000-10-177-12/+32
| | | | | | | | | | | | | | | | | | | | mit_des_cbc_cksum(), and mit_des3_cbc_encrypt() to take unsigned long lengths. * d3_cbc.c (mit_des3_cbc_encrypt): Length argument now takes an unsigned long. * f_cbc.c (mit_des_cbc_encrypt): Length argument now takes an unsigned long. * f_cksum.c (mit_des_cbc_cksum): Length argument now takes an unsigned long. * string2key.c: Unsigned/signed int cleanup. Test for a salt-length of SALT_TYPE_AFS_LENGTH or -1 (for backwards compatibilty) for use of mit_afs_string_to_key(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12774 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: krb5_alt_method, krb5_etype_info_entry length fieldsEzra Peisach2000-10-174-22/+56
| | | | | | | | | | | | | | | | | | changed to unsigned int. KRB5_ETYPE_NO_LENGTH defined. Change prototype decode_krb5_sam_key to decode_krb5_enc_sam_key which is what the code says. krb5int_access - change timeouts, shifts, etc to unsigned ints. * krb5.hin: krb5_data, krb5_address, krb5_keyblock, krb5_checksum, krb5_authdata, and krb5_pa_data length fields changed to unsigned int. krb5_kt_get_name(), krb5_unparse_name_ext(), krb5_build_principal(), krb5_build_principal_ext(), krb5_build_principal_va() and krb5_read_password() all take or return unsigned int lengths. * port-sockets.h (SOCKET): Under unix, a socket is of type int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12773 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_libinit.c: Include krb5_libinit.h for prototypesEzra Peisach2000-10-172-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12772 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.h: Add prototypes for fGetChar(), fGetParameterSet(),Ezra Peisach2000-10-172-0/+22
| | | | | | | ParmCompare(), FreeParameterSet(), fGetKeywordValue(), fGetToken(), fGetLiteral(), fUngetChar(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12771 dc483132-0cff-0310-8789-dd5450dbe970