krb5.git
29 years agoNew checksum verifier test
Paul Park [Fri, 7 Jul 1995 21:04:29 +0000 (21:04 +0000)]
New checksum verifier test

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

29 years agoAdd checksum verification procedure and dispatch
Paul Park [Fri, 7 Jul 1995 21:04:06 +0000 (21:04 +0000)]
Add checksum verification procedure and dispatch

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

29 years agoFix implementation of RSA-MD5-DES checksums, add verifier function/dispatch
Paul Park [Fri, 7 Jul 1995 21:03:37 +0000 (21:03 +0000)]
Fix implementation of RSA-MD5-DES checksums, add verifier function/dispatch

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

29 years agoAdd t_cksum under unix
Paul Park [Fri, 7 Jul 1995 21:02:21 +0000 (21:02 +0000)]
Add t_cksum under unix

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

29 years agoAdd definition to enable compatibility with old versions of RSA-MD4-DES
Paul Park [Fri, 7 Jul 1995 21:02:10 +0000 (21:02 +0000)]
Add definition to enable compatibility with old versions of RSA-MD4-DES

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

29 years agoAdd confounder length definition
Paul Park [Fri, 7 Jul 1995 21:01:41 +0000 (21:01 +0000)]
Add confounder length definition

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

29 years agoAdd verifier procedure/dispatch
Paul Park [Fri, 7 Jul 1995 21:01:22 +0000 (21:01 +0000)]
Add verifier procedure/dispatch

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

29 years agoCorrect implementation of RSA-MD4-DES checksums and add verifier procedure/dispatch
Paul Park [Fri, 7 Jul 1995 21:01:10 +0000 (21:01 +0000)]
Correct implementation of RSA-MD4-DES checksums and add verifier procedure/dispatch

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

29 years agoAdd checksum verifier procedure/dispatch
Paul Park [Fri, 7 Jul 1995 20:59:52 +0000 (20:59 +0000)]
Add checksum verifier procedure/dispatch

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

29 years agoReorganize library logic and use LDFLAGS from configure
Paul Park [Fri, 7 Jul 1995 20:58:36 +0000 (20:58 +0000)]
Reorganize library logic and use LDFLAGS from configure

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

29 years agoUse checksum verifier routine
Paul Park [Fri, 7 Jul 1995 20:58:10 +0000 (20:58 +0000)]
Use checksum verifier routine

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

29 years agoRemove LDFLAGS
Paul Park [Fri, 7 Jul 1995 20:57:24 +0000 (20:57 +0000)]
Remove LDFLAGS

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

29 years agoAdd confounder length for RSA-MD5-DES
Paul Park [Fri, 7 Jul 1995 20:55:36 +0000 (20:55 +0000)]
Add confounder length for RSA-MD5-DES

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

29 years agoAdd checksum verifier dispatch in checksum entry
Paul Park [Fri, 7 Jul 1995 20:55:05 +0000 (20:55 +0000)]
Add checksum verifier dispatch in checksum entry

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

29 years agoAdd DEPLIBS and LDFLAGS
Paul Park [Fri, 7 Jul 1995 20:54:23 +0000 (20:54 +0000)]
Add DEPLIBS and LDFLAGS

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

29 years agoAdd ability to set LDFLAGS for everything with --with-ldopts=<mumble>.
Paul Park [Fri, 7 Jul 1995 20:45:56 +0000 (20:45 +0000)]
Add ability to set LDFLAGS for everything with --with-ldopts=<mumble>.
Add ability to select libraries to link with from configure script.  This
centralizes the library structure here.

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

29 years ago * rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddr
Tom Yu [Thu, 6 Jul 1995 23:31:42 +0000 (23:31 +0000)]
* rd_safe.c (krb5_rd_safe_basic): Pass context to os_localaddr

* rd_priv.c (krb5_rd_priv_basic): Pass context to os_localaddr.

* rd_cred.c (krb5_rd_cred_basic): Pass context to os_localaddr.

* get_in_tkt.c (krb5_get_in_tkt): Pass context to os_localaddr.

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

29 years ago * kpasswd.c (get_first_ticket): Pass context to os_localaddr
Tom Yu [Thu, 6 Jul 1995 23:23:27 +0000 (23:23 +0000)]
* kpasswd.c (get_first_ticket): Pass context to os_localaddr

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

29 years ago * kadmin.c (get_first_ticket): Pass context to os_localaddr
Tom Yu [Thu, 6 Jul 1995 23:23:01 +0000 (23:23 +0000)]
* kadmin.c (get_first_ticket): Pass context to os_localaddr

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

29 years ago * krb_auth_su.c (krb5_get_tkt_via_passwd): Pass context to
Tom Yu [Thu, 6 Jul 1995 23:22:20 +0000 (23:22 +0000)]
* krb_auth_su.c (krb5_get_tkt_via_passwd): Pass context to
os_localaddr.

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

29 years ago * krb5.hin: Change definition of krb5_os_localaddr to include
Tom Yu [Thu, 6 Jul 1995 23:21:19 +0000 (23:21 +0000)]
* krb5.hin: Change definition of krb5_os_localaddr to include
context argument.

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

29 years ago * adm_conn.c (kadm_get_creds): Pass kcontext to os_localaddr
Tom Yu [Thu, 6 Jul 1995 23:20:29 +0000 (23:20 +0000)]
* adm_conn.c (kadm_get_creds): Pass kcontext to os_localaddr

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

29 years ago * localaddr.c: moved to lib/crypto/os; just a stub here
Tom Yu [Thu, 6 Jul 1995 23:19:46 +0000 (23:19 +0000)]
* localaddr.c: moved to lib/crypto/os; just a stub here

* ustime.c: moved to lib/crypto/os; just a stub here.

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

29 years ago * new_rn_key.c (mit_des_init_random_number_generator): don't call
Tom Yu [Thu, 6 Jul 1995 23:18:24 +0000 (23:18 +0000)]
* new_rn_key.c (mit_des_init_random_number_generator): don't call
us_timeofday with context arg; also update for new
function names (krb5_crypto_*).

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

29 years ago * localaddr.c: migrated from lib/krb5/os
Tom Yu [Thu, 6 Jul 1995 23:16:55 +0000 (23:16 +0000)]
* localaddr.c: migrated from lib/krb5/os

* ustime.c: migrated from lib/krb5/os; removed context variable
from arglist.

* Makefile.in: don't copy or remove localaddr.c and ustime.c;
they're local now.

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

29 years agoprof_int.h must be included after stdio.h for prototypes
Ezra Peisach [Thu, 6 Jul 1995 14:06:33 +0000 (14:06 +0000)]
prof_int.h must be included after stdio.h for prototypes

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

29 years agoRemove t_an_to_ln.o when making clean
Ezra Peisach [Thu, 6 Jul 1995 13:59:14 +0000 (13:59 +0000)]
Remove t_an_to_ln.o when making clean

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

29 years agoChecking in the change of removing makeshlib
Ezra Peisach [Thu, 6 Jul 1995 13:55:53 +0000 (13:55 +0000)]
Checking in the change of removing makeshlib

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

29 years agoRemove makeshlib on clean
Ezra Peisach [Thu, 6 Jul 1995 13:55:04 +0000 (13:55 +0000)]
Remove makeshlib on clean

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

29 years agoAdded MPW Worksheet to build on Macintosh (may get replaced later)
Keith Vetter [Thu, 6 Jul 1995 01:41:48 +0000 (01:41 +0000)]
Added MPW Worksheet to build on Macintosh  (may get replaced later)

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

29 years agoChanges for Macintosh implementation
Keith Vetter [Thu, 6 Jul 1995 01:39:47 +0000 (01:39 +0000)]
Changes for Macintosh implementation

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

29 years agoRemove declaration of errno altoghether. "extern int errno;" is
Theodore Tso [Thu, 6 Jul 1995 00:08:24 +0000 (00:08 +0000)]
Remove declaration of errno altoghether.  "extern int errno;" is
always wrong.

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

29 years agoDon't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
Theodore Tso [Thu, 6 Jul 1995 00:05:35 +0000 (00:05 +0000)]
Don't use the TIOCLSET ioctl unless we're not using POSIX_TERMIOS.
Don't just blindly set the file status flags to 0.  Instead, do a
fcntl(0, F_GETFL), and then reset the nonblocking flags.

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

29 years ago * makeshlib.sh: Add support for NetBSD shared libraries
Tom Yu [Tue, 4 Jul 1995 06:13:59 +0000 (06:13 +0000)]
* makeshlib.sh: Add support for NetBSD shared libraries

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

29 years ago * configure.in: Add support for NetBSD shared libraries
Tom Yu [Tue, 4 Jul 1995 06:13:27 +0000 (06:13 +0000)]
* configure.in: Add support for NetBSD shared libraries

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

29 years ago * Makefile.in (libdb.a): Quiet the if statement
Tom Yu [Mon, 3 Jul 1995 19:17:41 +0000 (19:17 +0000)]
* Makefile.in (libdb.a): Quiet the if statement

* configure.in: Symlink $(TOPLIBD)/libdb.* from the right place.

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

29 years ago* Replace Gcc test from top level configure.in with one from
Sam Hartman [Mon, 3 Jul 1995 01:46:55 +0000 (01:46 +0000)]
* Replace Gcc test from top level configure.in with one from
util/configure.in.

* Modify top level configure.in and util/makeshlib.sh so AIX can
build/use shared libs with Gcc.

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

29 years ago * aclocal.m4 (_MAKE_SUBDIRS): Fixed so that error propogates
Tom Yu [Mon, 3 Jul 1995 00:13:32 +0000 (00:13 +0000)]
* aclocal.m4 (_MAKE_SUBDIRS): Fixed so that error propogates
upward if -[ik] not specified.

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Sun, 2 Jul 1995 23:59:05 +0000 (23:59 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Declare errno as extern int, not just int.  This prevents masking the
definition in the c library, which can make life interesting under
AIX.

CVS:

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Sun, 2 Jul 1995 23:22:04 +0000 (23:22 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Correct logic in krb5_recvauth so that it returns an error reply if
authentication fails.

CVS:

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

29 years ago * aclocal.m4 (SubdirLibRule): don't recreate DONE if list of objs
Tom Yu [Sun, 2 Jul 1995 10:50:04 +0000 (10:50 +0000)]
* aclocal.m4 (SubdirLibRule): don't recreate DONE if list of objs
is null to avoid re-making lotsa stuff.
(_MAKE_SUBDIRS): really gross sh hack for subdir
recursion; make -[ik] should dtrt now even with broken
makes (like Ultrix) that do sh -ce "rule".  Basically,
throw an "if" test around the recursion line so that even
if the -e option to sh is set by make, an error in a
subdir below won't cause for loop to exit unless we want
it to.

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

29 years ago * commands.c: rename setmode() and clearmode() to tel_setmode()
Tom Yu [Sun, 2 Jul 1995 09:19:35 +0000 (09:19 +0000)]
* commands.c: rename setmode() and clearmode() to tel_setmode()
and tel_clearmode() to avoid conflicts with setmode()
defined in NetBSD unistd.h

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

29 years ago * configure.in: Don't check for pgno_t; it's not in sys/types.h on
Tom Yu [Sun, 2 Jul 1995 05:23:21 +0000 (05:23 +0000)]
* configure.in: Don't check for pgno_t; it's not in sys/types.h on
any system I've seen, and it breaks the following check
for datum.dsize under netbsd.

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

29 years agoAdd shared library support
Paul Park [Fri, 30 Jun 1995 20:22:58 +0000 (20:22 +0000)]
Add shared library support

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

29 years agoAdd ability to switch between Berkeley and DBM for KDC database
Paul Park [Fri, 30 Jun 1995 20:21:49 +0000 (20:21 +0000)]
Add ability to switch between Berkeley and DBM for KDC database

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

29 years agoAdd profile and Berkeley database smarts for aname_to_lname
Paul Park [Fri, 30 Jun 1995 20:21:28 +0000 (20:21 +0000)]
Add profile and Berkeley database smarts for aname_to_lname

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

29 years agoMove Berkeley database code here; remove typo
Paul Park [Fri, 30 Jun 1995 20:20:34 +0000 (20:20 +0000)]
Move Berkeley database code here; remove typo

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

29 years agoDescribe previous changes
Paul Park [Fri, 30 Jun 1995 20:20:03 +0000 (20:20 +0000)]
Describe previous changes

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

29 years agoAdd ability to test using Berkeley or DBM
Paul Park [Fri, 30 Jun 1995 20:19:41 +0000 (20:19 +0000)]
Add ability to test using Berkeley or DBM

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

29 years agoRemove Berkeley database object modules
Paul Park [Fri, 30 Jun 1995 20:19:25 +0000 (20:19 +0000)]
Remove Berkeley database object modules

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

29 years agoAdd function dispatch for database accesses
Paul Park [Fri, 30 Jun 1995 20:19:06 +0000 (20:19 +0000)]
Add function dispatch for database accesses

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

29 years agoFix initialization and terminal disassociation broken by previous rev
Paul Park [Fri, 30 Jun 1995 20:16:55 +0000 (20:16 +0000)]
Fix initialization and terminal disassociation broken by previous rev

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

29 years agoAdd usage of compile(3) for regular expressions so SysV machines have them too
Paul Park [Fri, 30 Jun 1995 20:15:17 +0000 (20:15 +0000)]
Add usage of compile(3) for regular expressions so SysV machines have them too

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

29 years agoAdd kdb dispatch table for changing between Berkeley and DBM
Paul Park [Fri, 30 Jun 1995 20:14:39 +0000 (20:14 +0000)]
Add kdb dispatch table for changing between Berkeley and DBM

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

29 years agoAdd ability to switch between Berkeley and DBM for both aname and KDC database
Paul Park [Fri, 30 Jun 1995 20:11:46 +0000 (20:11 +0000)]
Add ability to switch between Berkeley and DBM for both aname and KDC database

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

29 years agoBe more flexible where sources come from when building shared libraries
Paul Park [Fri, 30 Jun 1995 20:11:05 +0000 (20:11 +0000)]
Be more flexible where sources come from when building shared libraries

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

29 years ago * krb5.hin: special-case ultrix brokenness (again!) for
Tom Yu [Fri, 30 Jun 1995 02:56:32 +0000 (02:56 +0000)]
* krb5.hin: special-case ultrix brokenness (again!) for
KRB5_CONST; krb5.h breaks when typedef'ing while
installed.  Yuck.

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

29 years agoRemove -g from LDFLAGS
Sam Hartman [Thu, 29 Jun 1995 19:05:08 +0000 (19:05 +0000)]
Remove -g from LDFLAGS

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Thu, 29 Jun 1995 18:58:21 +0000 (18:58 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Input the master key before daemoning if you're going to detach.  This
makes kadmind5 -m useful without -n as well.

CVS:

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

29 years ago * configure.in (--with-dbm): new option, allows easy building of
Mark Eichin [Thu, 29 Jun 1995 10:56:35 +0000 (10:56 +0000)]
* configure.in (--with-dbm): new option, allows easy building of
normal dbm support for compatibility.
* Makefile.in (DBFLAGS): variable to hold substitution of flags to
enable Berkeley db support.

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

29 years ago * kerberos_v4.c (check_princ): delete master_key_version check,
Mark Eichin [Thu, 29 Jun 1995 10:52:46 +0000 (10:52 +0000)]
* kerberos_v4.c (check_princ): delete master_key_version check,
since we never actually set it.
(main): elide original V4 server code to avoid confusion when
looking for variable references.
(type_2_v5err): reformat for 79 columns instead of 80 and
conditionalize out since it is unused (though still informative.)

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

29 years agofix the other typo
Mark Eichin [Thu, 29 Jun 1995 00:24:43 +0000 (00:24 +0000)]
fix the other typo

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

29 years agofix typo
Mark Eichin [Thu, 29 Jun 1995 00:23:18 +0000 (00:23 +0000)]
fix typo

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

29 years ago * test.c: use PROTOTYPE
Mark Eichin [Thu, 29 Jun 1995 00:21:15 +0000 (00:21 +0000)]
* test.c: use PROTOTYPE

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

29 years agoProper test for GCC. (based on autoconf test).
Ezra Peisach [Thu, 29 Jun 1995 00:19:14 +0000 (00:19 +0000)]
Proper test for GCC. (based on autoconf test).
If using gcc, set shlibs_ldflag and noshlibs_ldflag properly for compiler.
(I put it in the OSF code, but the testing may be more generic for all systems)

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

29 years ago * test.c, k524init.c, getcred.c: rewrote for old style definitiions.
Mark Eichin [Wed, 28 Jun 1995 21:37:32 +0000 (21:37 +0000)]
* test.c, k524init.c, getcred.c: rewrote for old style definitiions.
* encode.c: use PROTOTYPE instead of KRB5_PROTOTYPE.

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

29 years ago * configure.in: with static libs, we need install-unix, not install
Mark Eichin [Wed, 28 Jun 1995 21:30:33 +0000 (21:30 +0000)]
* configure.in: with static libs, we need install-unix, not install

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

29 years ago * read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead
Mark Eichin [Wed, 28 Jun 1995 21:16:39 +0000 (21:16 +0000)]
* read_passwd.c, configure.in: use HAS_ANSI_VOLATILE instead

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

29 years agoaclocal.m4 (KRB_INCLUDE): Search the build directories before the
Theodore Tso [Wed, 28 Jun 1995 21:13:07 +0000 (21:13 +0000)]
aclocal.m4 (KRB_INCLUDE): Search the build directories before the
source directories.  (Doesn't hurt anything, and it helps in a few
cases of user error.)

configure.in: Conditionalize on the name of CC to determine whether to
use the gcc or suncc flags for shared libraries.  (This is a little
bit ugly; we might want to use a better test later on.)

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

29 years agoRename ct_c.*.in to ct_c_*.in, so that the sources will unpack cleanly
Theodore Tso [Wed, 28 Jun 1995 20:45:17 +0000 (20:45 +0000)]
Rename ct_c.*.in to ct_c_*.in, so that the sources will unpack cleanly
under DOS.  Argh.

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

29 years ago * krlogin.c: don't redeclare noltc, defltc if we happen to have
Tom Yu [Wed, 28 Jun 1995 18:45:02 +0000 (18:45 +0000)]
* krlogin.c: don't redeclare noltc, defltc if we happen to have
TIOCGLTC in addition to POSIX_TERMIOS

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

29 years agoWork around bug in autoconf which causes a relative path for dnl
Theodore Tso [Wed, 28 Jun 1995 18:29:26 +0000 (18:29 +0000)]
Work around bug in autoconf which causes a relative path for dnl
AC_PROG_INSTALL to be cached.  We workaround this by unsetting the
cache variable if it contains a relative pathname.

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

29 years agoRename ct_c.* to ct_c.*.in. ct_c.sed.in is now processed by sed to
Theodore Tso [Wed, 28 Jun 1995 18:28:11 +0000 (18:28 +0000)]
Rename ct_c.* to ct_c.*.in.  ct_c.sed.in is now processed by sed to
remove comment lines beginning with '#', since some sed programs can't
handle that.  Change config_script so that the directory where the
ct_c.* files can be specified, since those are in the build directory,
instead of the source directory.  (This is all for the sake of System
V sed.  Sigh.)

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

29 years agosim_client.c: Include stdlib.h or declare malloc. Include string.h for
Ezra Peisach [Wed, 28 Jun 1995 17:51:17 +0000 (17:51 +0000)]
sim_client.c: Include stdlib.h or declare malloc. Include string.h for
strlen and memcpy definitions

configure.in: Check for stdlib.h.

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

29 years agoInclude <string.h> for memcpy definitions
Ezra Peisach [Wed, 28 Jun 1995 17:20:11 +0000 (17:20 +0000)]
Include <string.h> for memcpy definitions

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

29 years ago * configure.in: int*_t and pgno_t declarations from
Mark Eichin [Wed, 28 Jun 1995 04:56:49 +0000 (04:56 +0000)]
* configure.in: int*_t and pgno_t declarations from
hash/configure.in.

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

29 years ago * krb524d.c: changed main, krb5_free_keyblock_contents to use old
Mark Eichin [Wed, 28 Jun 1995 04:50:58 +0000 (04:50 +0000)]
* krb524d.c: changed main, krb5_free_keyblock_contents to use old
style definitions.

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

29 years ago * configure.in: use AC_CHECK_FUNCS and check for memmove.
Mark Eichin [Wed, 28 Jun 1995 04:25:26 +0000 (04:25 +0000)]
* configure.in: use AC_CHECK_FUNCS and check for memmove.
hash.h: if we don't HAVE_MEMMOVE use bcopy.

Really, though, a quick glance seems to indicate that most of the uses
of memmove could really be handled by memcpy, but I haven't time to prove
it right now. If I'm right, back out this check. (This is for sunos 4 which
has memcpy but not memmove.)

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

29 years ago * dbtest.c (xmalloc): use memcpy, memmove isn't needed.
Mark Eichin [Wed, 28 Jun 1995 04:23:17 +0000 (04:23 +0000)]
* dbtest.c (xmalloc): use memcpy, memmove isn't needed.
* configure.in: use AC_CHECK_FUNCS for index, and check for memmove.

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

29 years ago * run.test: look in /usr/share/lib/dict/words to find the words
Mark Eichin [Wed, 28 Jun 1995 04:05:49 +0000 (04:05 +0000)]
* run.test: look in /usr/share/lib/dict/words to find the words
file under SGI Irix 5.

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

29 years ago * krb4-proto.h: correct signature for krb_rd_req.
Mark Eichin [Wed, 28 Jun 1995 04:03:00 +0000 (04:03 +0000)]
* krb4-proto.h: correct signature for krb_rd_req.
* krb.h (swap_u_long): use KRB4_32 in swap() macros.

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

29 years ago * rd_req.c (krb_rd_req): from_addr is an address, so use unsigned
Mark Eichin [Wed, 28 Jun 1995 04:02:00 +0000 (04:02 +0000)]
* rd_req.c (krb_rd_req): from_addr is an address, so use unsigned
KRB4_32 instead of long.

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

29 years ago * rd_safe.c (krb_rd_safe): use KRB4_32 for address comparison
Mark Eichin [Wed, 28 Jun 1995 03:59:01 +0000 (03:59 +0000)]
* rd_safe.c (krb_rd_safe): use KRB4_32 for address comparison
and checksum swapping.

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

29 years ago * db.h: *int*_t are likely to collide with native types,
Mark Eichin [Wed, 28 Jun 1995 00:36:57 +0000 (00:36 +0000)]
* db.h: *int*_t are likely to collide with native types,
and the int8_t and *int64_t are never used anyway, so push them
off to hash/configure.in AC_CHECK_TYPE calls.

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

29 years ago * configure.in: *int*_t are likely to collide with native types,
Mark Eichin [Wed, 28 Jun 1995 00:36:06 +0000 (00:36 +0000)]
* configure.in: *int*_t are likely to collide with native types,
and the int8_t and *int64_t are never used anyway, so push them
off to hash/configure.in AC_CHECK_TYPE calls. pgno_t also.

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

29 years ago * read_passwd.c: only use volatile if __STDC__ is 1
Mark Eichin [Wed, 28 Jun 1995 00:34:38 +0000 (00:34 +0000)]
* read_passwd.c: only use volatile if __STDC__ is 1

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

29 years ago * encode.c: make declarations use KRB5_PROTOTYPE, and use old
Mark Eichin [Wed, 28 Jun 1995 00:32:33 +0000 (00:32 +0000)]
* encode.c: make declarations use KRB5_PROTOTYPE, and use old
style definitions, per V5 coding style.

Also deleted Makefile (from original code) since it gets stomped by configure

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

29 years agoCompiler warning cleanup
Paul Park [Tue, 27 Jun 1995 20:45:50 +0000 (20:45 +0000)]
Compiler warning cleanup

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

29 years agoAllow md4.c to be optimized by native DEC compilers
Paul Park [Tue, 27 Jun 1995 20:42:45 +0000 (20:42 +0000)]
Allow md4.c to be optimized by native DEC compilers

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

29 years agoCheck for EOF from fputs
Paul Park [Tue, 27 Jun 1995 20:36:21 +0000 (20:36 +0000)]
Check for EOF from fputs

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

29 years agoCompiler warning cleanup/Reinstate KRB5_PROVIDE_PROTOTYPES
Paul Park [Tue, 27 Jun 1995 20:34:45 +0000 (20:34 +0000)]
Compiler warning cleanup/Reinstate KRB5_PROVIDE_PROTOTYPES

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

29 years agoReinstate KRB5_PROVIDE_PROTOTYPES
Paul Park [Tue, 27 Jun 1995 20:34:02 +0000 (20:34 +0000)]
Reinstate KRB5_PROVIDE_PROTOTYPES

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

29 years agoChanged shared libraries so that it works under AIX and sets the
Sam Hartman [Mon, 26 Jun 1995 22:42:09 +0000 (22:42 +0000)]
Changed shared libraries so that it works under AIX and sets the
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

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

29 years agoMade makeshlib produced by Makefile, so I can know whether I'm running Gcc. Also...
Sam Hartman [Mon, 26 Jun 1995 22:36:33 +0000 (22:36 +0000)]
Made makeshlib produced by Makefile, so I can know whether I'm running Gcc.  Also, Ted wanted this to happen eventually anyway

CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Changed shared libraries so that it works under AIX and sets the
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

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

29 years ago----------------------------------------------------------------------
Sam Hartman [Mon, 26 Jun 1995 22:33:30 +0000 (22:33 +0000)]
----------------------------------------------------------------------
automatically CVS: CVS: Committing in .  CVS: CVS: Modified Files:
----------------------------------------------------------------------
Changed shared libraries so that it works under AIX and sets the
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

CVS:

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

29 years ago * Makefile.in: Typo: install-mac was really supposed to be
Tom Yu [Mon, 26 Jun 1995 20:43:03 +0000 (20:43 +0000)]
* Makefile.in: Typo: install-mac was really supposed to be
install-unix

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

29 years agoRemove -g from explicit LdFlags in Makefile.in
Sam Hartman [Mon, 26 Jun 1995 19:33:21 +0000 (19:33 +0000)]
Remove -g from explicit LdFlags in Makefile.in

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

29 years ago Changes to make sure all the right include files are included
Sam Hartman [Mon, 26 Jun 1995 19:31:57 +0000 (19:31 +0000)]
Changes to make sure all the right include files are included
under AIX.

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

29 years ago * configure.in: fix typo; appended "all" rule needs two colons to
Tom Yu [Sat, 24 Jun 1995 00:10:32 +0000 (00:10 +0000)]
* configure.in: fix typo; appended "all" rule needs two colons to
keep gmake from breaking.

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

29 years ago * configure.in: fix Sam's typo so libdes425.a gets symlinked
Tom Yu [Fri, 23 Jun 1995 22:19:27 +0000 (22:19 +0000)]
* configure.in: fix Sam's typo so libdes425.a gets symlinked
properly.

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