summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * cr_err_repl.c (req_act_vno): Delete commented-out declarationKen Raeburn2001-04-102-9/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13163 dc483132-0cff-0310-8789-dd5450dbe970
* make prototypes unconditionalKen Raeburn2001-04-105-30/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13162 dc483132-0cff-0310-8789-dd5450dbe970
* * do_as_req.c, do_tgs_req.c, kdc_preauth.c, kdc_util.h, kerberos_v4.c, main.c,Ken Raeburn2001-04-108-122/+119
| | | | | | | | policy.h: Don't use macros PROTOTYPE or KRB5_PROTOTYPE. * kerberos_v4.c (req_act_vno): Delete variable definition. (kerberos_v4): Don't set it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13161 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.c, send_to_kdc.c: Don't use macro PROTOTYPEKen Raeburn2001-04-103-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13160 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.h: Don't use PROTOTYPE macroKen Raeburn2001-04-102-10/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13159 dc483132-0cff-0310-8789-dd5450dbe970
* fix pathname in commentKen Raeburn2001-04-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13158 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h (des_cblock, des_key_schedule): Separate definitions into a block withKen Raeburn2001-04-102-2/+23
| | | | | | | a comment indicating lib/crypto/des/des_int.h needs to be kept in sync. Use macro KRB5INT_DES_TYPES_DEFINED to avoid duplication. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13157 dc483132-0cff-0310-8789-dd5450dbe970
* * des_int.h: Don't use PROTOTYPE macro.Ken Raeburn2001-04-102-68/+80
| | | | | | | | | | (des_cblock, des_key_schedule): Duplicate definitions here and in kerberosIV/des.h, using macro KRB5INT_DES_TYPES_DEFINED to avoid duplication. (mit_des_cblock, mit_des_key_schedule): Define in terms of the other types for now. (PROTOTYPE): Don't define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13156 dc483132-0cff-0310-8789-dd5450dbe970
* afsstring2key.c, destest.c: Don't use PROTOTYPE macroKen Raeburn2001-04-103-5/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13155 dc483132-0cff-0310-8789-dd5450dbe970
* cleanupKen Raeburn2001-04-103-55/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13154 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Include stdio.h.Ken Raeburn2001-04-103-103/+125
| | | | | | | | | | | | | (PROTOTYPE): Delete macro. Make all function prototypes unconditional. (des_ecb_encrypt, des_fixup_key_parity, des_check_key_parity, des_new_random_key, des_init_random_number_generator, des_random_key, des_is_weak_key, des_cblock_print_file): Add prototypes. (des_cbc_cksum, des_cbc_encrypt, des_read_password) [KRB5_GENERAL__]: Add prototypes. * krb.h: Make all function prototypes unconditional, don't use PROTOTYPE macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13153 dc483132-0cff-0310-8789-dd5450dbe970
* new test case for pcbc encryptionKen Raeburn2001-04-103-1/+134
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13152 dc483132-0cff-0310-8789-dd5450dbe970
* * pcbc_encrypt.c (des_pcbc_encrypt): Initialize plainl and plainr to keepKen Raeburn2001-04-102-3/+12
| | | | | | compiler happy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13151 dc483132-0cff-0310-8789-dd5450dbe970
* * des425.h: Deleted to avoid confusion with the other des.h in the tree. AllKen Raeburn2001-04-1017-164/+94
| | | | | | | | | | | | | | | | | | | | | files changed to include des_int.h and (the other) des.h instead. * new_rnd_key.c (des_init_random_number_generator): Cast seed data pointer to keep compiler happy. * read_passwd.c (intr_routine, des_read_pw_string): Add prototypes. (des_read_password): Fix call sequence for des_string_to_key. * str_to_key.c (des_string_to_key): Remove static storage in favor of automatic storage. Fix call sequence to des_key_sched. Delete no-op while loop. * t_quad.c (main): Fix call sequence for des_quad_cksum. * verify.c (des_string_to_key, des_key_sched, des_ecb_encrypt, des_cbc_encrypt): Removed declarations. (do_encrypt, do_decrypt): Prototype. Make args point to unsigned char, and return types void. (main): Declare return type. Make automatic var in_length be unsigned long; discard some casts, but cast it when passing to memcmp. Remove extra arg passed to des_cbc_cksum. (flip): Delete unused function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13150 dc483132-0cff-0310-8789-dd5450dbe970
* rename des.h -> des425.hKen Raeburn2001-04-1018-17/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13149 dc483132-0cff-0310-8789-dd5450dbe970
* * quad_cksum.c (des_quad_cksum): Add comments. Force 32-bit arithmetic just ↵Ken Raeburn2001-04-102-5/+41
| | | | | | to be careful git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13148 dc483132-0cff-0310-8789-dd5450dbe970
* add quad_cksum test caseKen Raeburn2001-04-073-1/+112
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13147 dc483132-0cff-0310-8789-dd5450dbe970
* * mkrel: When generating multiple tarballs, also generate aTom Yu2001-04-062-14/+26
| | | | | | | consolidated tarball. Default to making a single tarball. [pullups from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13146 dc483132-0cff-0310-8789-dd5450dbe970
* * kinit.c (k4_kinit): Use ANSI C-style string continuationDanilo Almeida2001-04-052-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13145 dc483132-0cff-0310-8789-dd5450dbe970
* * mk_safe.c (krb5_mk_safe): Only use safe_cksumtype from theTom Yu2001-04-052-1/+33
| | | | | | | | auth_context (derived from the config file or hardcoded default) if it's suitable for the enctype of the key we're going to use. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13144 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf.M: Update description of safe_checksum_type for recentTom Yu2001-04-042-5/+13
| | | | | | changes. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13143 dc483132-0cff-0310-8789-dd5450dbe970
* * setenv.c: Add conditionals for compilation of setenv, unsetenv,Tom Yu2001-04-042-2/+13
| | | | | | | and getenv such that they only get compiled if they don't already exist. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13142 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add checks for unsetenv and getenv. CompileTom Yu2001-04-042-2/+9
| | | | | | | setenv.o if any of setenv, unsetenv, or getenv are missing. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13141 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for setenv, unsetenv, and getenv. CompileTom Yu2001-04-043-2/+22
| | | | | | | | | | | setenv.c if at least of these is undefined. [pullup from krb5-1-2-2-branch] * setenv.c: Add conditionals for compilation of setenv, unsetenv, and getenv such that they only get compiled if they don't already exist. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13140 dc483132-0cff-0310-8789-dd5450dbe970
* * login.M: Don't include "= 0" as part of the "accept_passwd"Tom Yu2001-04-032-1/+6
| | | | | | config option. [pullup from 1.2.2] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13135 dc483132-0cff-0310-8789-dd5450dbe970
* * t_gifconf.c: New fileKen Raeburn2001-03-312-0/+131
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13127 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c (DEFAULT_ETYPE_LIST): New macro. Old etype list, plus des-md4,Ken Raeburn2001-03-312-3/+17
| | | | | | | with des-crc before des-mdX for now. (get_profile_etype_list): Use DEFAULT_ETYPE_LIST. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13126 dc483132-0cff-0310-8789-dd5450dbe970
* reindent for readabilityKen Raeburn2001-03-312-277/+277
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13125 dc483132-0cff-0310-8789-dd5450dbe970
* I didn't intend to commit that on the trunk (oops). UndoingMiro Jurisic2001-03-211-15/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13111 dc483132-0cff-0310-8789-dd5450dbe970
* macsock.h: Updated Utilities.h and sockets includesMiro Jurisic2001-03-211-0/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13109 dc483132-0cff-0310-8789-dd5450dbe970
* update commentsKen Raeburn2001-03-151-3/+13
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13086 dc483132-0cff-0310-8789-dd5450dbe970
* t_nfold.c: run n-fold test vector from kerberos-revisions draftKen Raeburn2001-03-152-1/+68
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13085 dc483132-0cff-0310-8789-dd5450dbe970
* minor cleanup + audit issuesKen Raeburn2001-03-154-81/+79
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13084 dc483132-0cff-0310-8789-dd5450dbe970
* audit issuesKen Raeburn2001-03-151-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13083 dc483132-0cff-0310-8789-dd5450dbe970
* * shs.h: Stop using KRB5_PROTOTYPEKen Raeburn2001-03-152-9/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13082 dc483132-0cff-0310-8789-dd5450dbe970
* minor cleanup + audit issuesKen Raeburn2001-03-154-22/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13081 dc483132-0cff-0310-8789-dd5450dbe970
* * crc-32.h: Stop using PROTOTYPE macroKen Raeburn2001-03-152-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13080 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (STLIBOBJS): Undo last changeKen Raeburn2001-03-132-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13079 dc483132-0cff-0310-8789-dd5450dbe970
* * defines.h: Add prototypes for rcmd_stream_init_normal(),Ezra Peisach2001-03-1210-93/+173
| | | | | | | | | | | | | | rcmd_stream_init_krb4(), strsave() and rd_and_store_for_creds() * Makefile.in: Add dependency of forward.o on defines.h * forward.c: Include defines.h for prototypes. * kcmd.c, krcp.c, krlogin.c, krlogind.c, krsh.c: Provide full prototype for local functions and move include of kerberosIV/krb.h before defines.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13077 dc483132-0cff-0310-8789-dd5450dbe970
* * krb524d.c: Provide prototypes for local functionsEzra Peisach2001-03-123-5/+28
| | | | | | * test.c: Declare local functions static. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13076 dc483132-0cff-0310-8789-dd5450dbe970
* * com_err.h: For struct error_table, change the base from anEzra Peisach2001-03-122-1/+6
| | | | | | unsigned to signed long (error messages and tables are signed) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13075 dc483132-0cff-0310-8789-dd5450dbe970
* * def_realm.c: Move prototype for krb5_try_realm_txt_rr() toEzra Peisach2001-03-116-11/+30
| | | | | | | | | | | | | | os-proto.h. * init_os_ctx.c: Include os-proto.h * changepw.c, locate_kdc.c: Do not shadow sin() with local variable name. * os-proto.h: Add prototypes for krb5_try_realm_txt_rr() and the obsolete krb5_secure_config_files(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13074 dc483132-0cff-0310-8789-dd5450dbe970
* * init_ctx.c: Provide a full prototype for init_common()Ezra Peisach2001-03-117-12/+27
| | | | | | | | | | | * recvauth.c (recvauth_common): Declare recvauth_common as static. * parse.c, sendauth.c: Changes to prevent shadowing of local variables. * get_in_tkt.c, tgtname.c: Include int-proto.h for prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13073 dc483132-0cff-0310-8789-dd5450dbe970
* * oid_ops.c: Avoid the use of a variable named indexEzra Peisach2001-03-112-6/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13072 dc483132-0cff-0310-8789-dd5450dbe970
* * make_random_key.c, old_api_glue.c: Do not use a variable namedEzra Peisach2001-03-113-9/+14
| | | | | | random that might shadow a system header file definition. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13071 dc483132-0cff-0310-8789-dd5450dbe970
* str_conv.c: Include adm_proto.h for prototypesEzra Peisach2001-03-112-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13070 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb_xdr.c: Change the variable index to idx to prevent functionEzra Peisach2001-03-102-4/+9
| | | | | | name shadowing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13069 dc483132-0cff-0310-8789-dd5450dbe970
* use prototype-style function defs. meant to attach this log with last ↵Ken Raeburn2001-03-091-0/+5
| | | | | | checkin of old_??crypt.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13068 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (STLIBOBJS): Nothing uses des_stringtokey.o, drop itKen Raeburn2001-03-095-28/+25
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13067 dc483132-0cff-0310-8789-dd5450dbe970
* Use krb5int_ prefix for internal "provider" structuresKen Raeburn2001-03-0920-43/+65
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13066 dc483132-0cff-0310-8789-dd5450dbe970