Ken Raeburn [Fri, 27 Apr 2001 22:51:51 +0000 (22:51 +0000)]
* aclocal.m4 (DECLARE_SYS_ERRLIST): Check for sys_nerr with an
expression that can't be optimized away.
(KRB5_INIT_CCOPTS): New macro.
(WITH_CC): Add gcc warning flags to CCOPTS instead of CC. Add option
-Wno-comment to stop gcc from complaining about SunOS system header
files. Call AC_REQUIRE on KRB5_INIT_CCOPTS.
(WITH_CCOPTS): Add to CCOPTS instead of simply assigning to it. Call
AC_REQUIRE on KRB5_INIT_CCOPTS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13215
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 27 Apr 2001 14:02:19 +0000 (14:02 +0000)]
* ftp_var.h: Prototype for recvrequest() needs volatile
declaration to match code. Native Dec Alpha compiler errors on the
inconsistancy.
* secure.h (PROTOTYPE): Only define if not defined already.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13214
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Fri, 27 Apr 2001 13:55:46 +0000 (13:55 +0000)]
.cvsignore: Add stamp-h.in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13213
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 27 Apr 2001 01:58:48 +0000 (01:58 +0000)]
* v4gssftp.exp: Allow for "no credentials cache found" error minor
code from GSSAPI.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13212
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:17:10 +0000 (11:17 +0000)]
back out accidental check-in
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13209
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:15:12 +0000 (11:15 +0000)]
* conv_creds.c (broken, krb524_convert_creds_plain): Unused code deleted
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13208
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:13:31 +0000 (11:13 +0000)]
add some comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13207
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:12:36 +0000 (11:12 +0000)]
hst_realm.c (T_TXT): Define if not defined by header files
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13206
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:11:11 +0000 (11:11 +0000)]
use new internal interface for locating servers
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13205
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:10:15 +0000 (11:10 +0000)]
implement and use new internal interface for locating servers
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13204
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 11:08:18 +0000 (11:08 +0000)]
new internal library interface for locating servers
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13203
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 07:53:10 +0000 (07:53 +0000)]
* aclocal.m4 (KRB5_AC_INET6): Don't look for getipnodebyname, getipnodebyaddr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13202
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 07:41:52 +0000 (07:41 +0000)]
assume ANSI C: delete no-volatile support, and most no-prototype support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13201
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 05:30:46 +0000 (05:30 +0000)]
* configure.in: Don't look for getipnodebyaddr
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13200
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 05:29:49 +0000 (05:29 +0000)]
* klist.c (one_addr): Drop getipnodebyaddr support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13199
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 03:57:48 +0000 (03:57 +0000)]
back out changes that shouldn't have been checked in yet
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13198
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 03:54:43 +0000 (03:54 +0000)]
localaddr.c (foreach_localaddr): support SIOCGIFNUM, for Solaris
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13197
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 03:49:18 +0000 (03:49 +0000)]
update copyright years
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13196
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 26 Apr 2001 03:47:29 +0000 (03:47 +0000)]
move socklen_t, socklen handling from krb5 library to include/k5-int.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13195
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 26 Apr 2001 00:55:20 +0000 (00:55 +0000)]
* ftpcmd.y: Don't dereference a NULL pointer returned from
ftpglob().
* ftpd.c: Be more paranoid about return values from ftpglob().
Police uses of sprintf(). Account for expansion in
radix_encode().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13193
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 25 Apr 2001 17:36:07 +0000 (17:36 +0000)]
test.c: Always include stdlib.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13192
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 25 Apr 2001 17:33:13 +0000 (17:33 +0000)]
* Makefile.in: Add lclint support
* dyn.h: Lclint annotate functions.
* dyn_create.c (DynCreate): Do not assume that malloc(0) is valid
and returns a valid pointer. Fix memory leak if malloc fails.
* dyn_realloc.c (_DynResize): Turn off warning of shifting a
signed variable.
* test.c: Check the return values of all library calls.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13191
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 25 Apr 2001 15:14:24 +0000 (15:14 +0000)]
* tcl_kadm5.c, tcl_ovsec_kadm.c: Cleanup of assignments in
conditionals, missing prototypes, etc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13190
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 25 Apr 2001 15:02:36 +0000 (15:02 +0000)]
kdb_dbm.c (destroy_file_suffix): Declare as static
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13189
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 25 Apr 2001 14:55:00 +0000 (14:55 +0000)]
* default.exp: For Kerberos 4 tests, use a different ticket file
name from the V5 tests.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13188
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 24 Apr 2001 17:05:34 +0000 (17:05 +0000)]
* client.c (main): Ensure that end of string is NULL terminated
instead of assuming buffer initialized to 0. Include <string.h>
for memset prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13187
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 24 Apr 2001 16:06:52 +0000 (16:06 +0000)]
* util_crypt.c (kg_make_confounder): Change variable random to
lrandom to prevent shadowing of global function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13186
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 24 Apr 2001 14:21:41 +0000 (14:21 +0000)]
update info on Solaris; add BSD/OS
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13185
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 17 Apr 2001 19:41:35 +0000 (19:41 +0000)]
* Makefile.in (unixmac): Target deleted
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13184
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 17 Apr 2001 19:36:06 +0000 (19:36 +0000)]
* Makefile.in (includes): New target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13183
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Apr 2001 03:30:28 +0000 (03:30 +0000)]
revise error table header rules - don't explicitly invoke awk here
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13182
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Apr 2001 03:29:13 +0000 (03:29 +0000)]
* Makefile.in (EHDRDIR): Install into kerberosIV subdirectory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13181
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Apr 2001 03:28:52 +0000 (03:28 +0000)]
* ad_print.c (ad_print): Pass address of session key to des_cblock_print_file,
not the session key.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13180
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Apr 2001 03:27:43 +0000 (03:27 +0000)]
* g_tkt_svc.c (CredIsExpired): Don't use a variable named "time"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13179
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Apr 2001 03:14:44 +0000 (03:14 +0000)]
k5-int.h: Always include stdlib.h and string.h; don't bother with HAVE_ macros
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13178
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 14 Apr 2001 03:04:23 +0000 (03:04 +0000)]
Allow des-mdX keys as well as des-crc (patch from assar).
Deal better with conversion of inter-realm tickets.
Misc cleanup.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13177
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 13 Apr 2001 15:38:21 +0000 (15:38 +0000)]
* memcache.h: Don't use macro PROTOTYPE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13176
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 12 Apr 2001 18:11:12 +0000 (18:11 +0000)]
* cksum.c (des_cbc_cksum): Gee, a consistent calling convntion.
What a concept!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13175
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 12 Apr 2001 16:03:36 +0000 (16:03 +0000)]
* f_tables.h: Do not define const to nothing on platforms that
fail to define __STDC__ - let autoconf do this if necessary.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13174
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Wed, 11 Apr 2001 21:01:09 +0000 (21:01 +0000)]
* aclocal.m4 (WITH_CC): Reorganize test: Do not use cache variable
that conflicts with an autoconf internal variable (prefix with
krb5_ instead of ac_). Ensure that the first time AC_PROG_CC is
invoked, is not within a conditional cache block. Autoconf 2.49
only include the compiler test code once in the configure script
instead of everytime it is seen.
aclocal now works with autoconf-2.49d... (as well as earlier versions)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13173
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 08:54:13 +0000 (08:54 +0000)]
some stuff to be fixed in des code
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13172
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 08:52:35 +0000 (08:52 +0000)]
more casting cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13171
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 08:39:54 +0000 (08:39 +0000)]
fix/add casts as needed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13170
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 08:31:43 +0000 (08:31 +0000)]
more cleanup - add const, reduce casting
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13169
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 07:57:03 +0000 (07:57 +0000)]
stuff to still address
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13168
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 07:49:14 +0000 (07:49 +0000)]
remove some outdated comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13167
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 07:40:02 +0000 (07:40 +0000)]
use const for some des inputs and reduce unnecessary casts
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13166
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 07:38:00 +0000 (07:38 +0000)]
* krb.h: Don't use "index" as argument name
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13165
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 07:35:55 +0000 (07:35 +0000)]
use const for some inputs (when practical) without changing api
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13164
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 06:29:56 +0000 (06:29 +0000)]
* cr_err_repl.c (req_act_vno): Delete commented-out declaration
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13163
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 06:27:01 +0000 (06:27 +0000)]
make prototypes unconditional
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13162
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 06:23:30 +0000 (06:23 +0000)]
* do_as_req.c, do_tgs_req.c, kdc_preauth.c, kdc_util.h, kerberos_v4.c, main.c,
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
Ken Raeburn [Tue, 10 Apr 2001 06:01:59 +0000 (06:01 +0000)]
* kparse.c, send_to_kdc.c: Don't use macro PROTOTYPE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13160
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 05:58:00 +0000 (05:58 +0000)]
* kparse.h: Don't use PROTOTYPE macro
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13159
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 05:06:34 +0000 (05:06 +0000)]
fix pathname in comment
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13158
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 05:06:19 +0000 (05:06 +0000)]
* des.h (des_cblock, des_key_schedule): Separate definitions into a block with
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
Ken Raeburn [Tue, 10 Apr 2001 05:03:55 +0000 (05:03 +0000)]
* des_int.h: Don't use PROTOTYPE macro.
(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
Ken Raeburn [Tue, 10 Apr 2001 05:00:54 +0000 (05:00 +0000)]
afsstring2key.c, destest.c: Don't use PROTOTYPE macro
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13155
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 04:04:09 +0000 (04:04 +0000)]
cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13154
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 04:00:09 +0000 (04:00 +0000)]
* des.h: Include stdio.h.
(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
Ken Raeburn [Tue, 10 Apr 2001 03:33:11 +0000 (03:33 +0000)]
new test case for pcbc encryption
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13152
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 03:32:34 +0000 (03:32 +0000)]
* pcbc_encrypt.c (des_pcbc_encrypt): Initialize plainl and plainr to keep
compiler happy.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13151
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 02:47:42 +0000 (02:47 +0000)]
* des425.h: Deleted to avoid confusion with the other des.h in the tree. All
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
Ken Raeburn [Tue, 10 Apr 2001 01:11:52 +0000 (01:11 +0000)]
rename des.h -> des425.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13149
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 10 Apr 2001 00:47:01 +0000 (00:47 +0000)]
* quad_cksum.c (des_quad_cksum): Add comments. Force 32-bit arithmetic just to be careful
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13148
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 7 Apr 2001 04:45:22 +0000 (04:45 +0000)]
add quad_cksum test case
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13147
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 6 Apr 2001 02:05:14 +0000 (02:05 +0000)]
* mkrel: When generating multiple tarballs, also generate a
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
Danilo Almeida [Thu, 5 Apr 2001 20:06:48 +0000 (20:06 +0000)]
* kinit.c (k4_kinit): Use ANSI C-style string continuation
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13145
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 5 Apr 2001 00:29:16 +0000 (00:29 +0000)]
* mk_safe.c (krb5_mk_safe): Only use safe_cksumtype from the
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
Tom Yu [Wed, 4 Apr 2001 22:31:31 +0000 (22:31 +0000)]
* krb5.conf.M: Update description of safe_checksum_type for recent
changes. [pullup from krb5-1-2-2-branch]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13143
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 4 Apr 2001 02:31:56 +0000 (02:31 +0000)]
* 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@13142
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 4 Apr 2001 02:31:35 +0000 (02:31 +0000)]
* configure.in: Add checks for unsetenv and getenv. Compile
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
Tom Yu [Wed, 4 Apr 2001 02:31:12 +0000 (02:31 +0000)]
* configure.in: Check for setenv, unsetenv, and getenv. Compile
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
Tom Yu [Tue, 3 Apr 2001 03:43:51 +0000 (03:43 +0000)]
* login.M: Don't include "= 0" as part of the "accept_passwd"
config option. [pullup from 1.2.2]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13135
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 31 Mar 2001 06:33:48 +0000 (06:33 +0000)]
* t_gifconf.c: New file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13127
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 31 Mar 2001 05:23:42 +0000 (05:23 +0000)]
* init_ctx.c (DEFAULT_ETYPE_LIST): New macro. Old etype list, plus des-md4,
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
Ken Raeburn [Sat, 31 Mar 2001 05:22:31 +0000 (05:22 +0000)]
reindent for readability
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13125
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Wed, 21 Mar 2001 02:15:13 +0000 (02:15 +0000)]
I didn't intend to commit that on the trunk (oops). Undoing
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13111
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Wed, 21 Mar 2001 02:09:19 +0000 (02:09 +0000)]
macsock.h: Updated Utilities.h and sockets includes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13109
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 06:51:19 +0000 (06:51 +0000)]
update comments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13086
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 05:01:24 +0000 (05:01 +0000)]
t_nfold.c: run n-fold test vector from kerberos-revisions draft
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13085
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 04:58:12 +0000 (04:58 +0000)]
minor cleanup + audit issues
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13084
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 04:45:42 +0000 (04:45 +0000)]
audit issues
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13083
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 04:45:18 +0000 (04:45 +0000)]
* shs.h: Stop using KRB5_PROTOTYPE
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13082
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 04:42:37 +0000 (04:42 +0000)]
minor cleanup + audit issues
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13081
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Thu, 15 Mar 2001 02:59:52 +0000 (02:59 +0000)]
* crc-32.h: Stop using PROTOTYPE macro
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13080
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 13 Mar 2001 23:27:10 +0000 (23:27 +0000)]
* Makefile.in (STLIBOBJS): Undo last change
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13079
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 12 Mar 2001 15:17:40 +0000 (15:17 +0000)]
* defines.h: Add prototypes for rcmd_stream_init_normal(),
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
Ezra Peisach [Mon, 12 Mar 2001 15:10:02 +0000 (15:10 +0000)]
* krb524d.c: Provide prototypes for local functions
* test.c: Declare local functions static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13076
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 12 Mar 2001 00:15:55 +0000 (00:15 +0000)]
* com_err.h: For struct error_table, change the base from an
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
Ezra Peisach [Sun, 11 Mar 2001 03:21:13 +0000 (03:21 +0000)]
* def_realm.c: Move prototype for krb5_try_realm_txt_rr() to
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
Ezra Peisach [Sun, 11 Mar 2001 03:04:59 +0000 (03:04 +0000)]
* init_ctx.c: Provide a full prototype for init_common()
* 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
Ezra Peisach [Sun, 11 Mar 2001 02:55:44 +0000 (02:55 +0000)]
* oid_ops.c: Avoid the use of a variable named index
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13072
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 11 Mar 2001 02:53:49 +0000 (02:53 +0000)]
* make_random_key.c, old_api_glue.c: Do not use a variable named
random that might shadow a system header file definition.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13071
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sun, 11 Mar 2001 02:47:09 +0000 (02:47 +0000)]
str_conv.c: Include adm_proto.h for prototypes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13070
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Sat, 10 Mar 2001 22:56:44 +0000 (22:56 +0000)]
* kdb_xdr.c: Change the variable index to idx to prevent function
name shadowing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13069
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 9 Mar 2001 22:27:16 +0000 (22:27 +0000)]
use prototype-style function defs. meant to attach this log with last checkin of old_??crypt.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13068
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 9 Mar 2001 22:25:02 +0000 (22:25 +0000)]
Makefile.in (STLIBOBJS): Nothing uses des_stringtokey.o, drop it
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13067
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Fri, 9 Mar 2001 09:42:19 +0000 (09:42 +0000)]
Use krb5int_ prefix for internal "provider" structures
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13066
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Thu, 8 Mar 2001 22:47:48 +0000 (22:47 +0000)]
Update ChangeLog for last checkin..
* do_as_req.c: If KRBCONF_KDC_MODIFIES_KDB defined, produce code
that compiles and works.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13065
dc483132-0cff-0310-8789-
dd5450dbe970