From: Ezra Peisach Date: Thu, 7 Jun 2001 15:17:19 +0000 (+0000) Subject: * k5-int.h: Remove AS_REP_105_SAM_COMPAT definition. Not used in X-Git-Tag: krb5-1.3-alpha1~1471 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e93c88c1d5de8a51e8ab015af5bed7c5e0b0afd;p=krb5.git * k5-int.h: Remove AS_REP_105_SAM_COMPAT definition. Not used in tree. Remove SYSV redefinition of random() to rand() and srandom() to srand(). Two locations in tree that might matter already handled in configure. Unicos redefinition of utimes() to utime() removed - appl/bsd has its own implementation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13284 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index b5ae5135c..18aff0720 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,11 @@ +2001-06-07 Ezra Peisach + + * k5-int.h: Remove AS_REP_105_SAM_COMPAT definition. Not used in + tree. Remove SYSV redefinition of random() to rand() and + srandom() to srand(). Two locations in tree that might matter + already handled in configure. Unicos redefinition of utimes() to + utime() removed - appl/bsd has its own implementation. + 2001-06-06 Ken Raeburn * Makefile.in ($(srcdir)/krb5/autoconf.h.in): New target; rebuild diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 0781ef1d1..3bed0a258 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -79,9 +79,6 @@ #include "osconf.h" -/* Compatibility switch for SAM preauth */ -#define AS_REP_105_SAM_COMPAT - /* * Begin "k5-config.h" */ @@ -148,18 +145,6 @@ typedef unsigned char u_char; #endif /* HAVE_SYS_TYPES_H */ #endif /* KRB5_SYSTYPES__ */ -#ifdef SYSV -/* Change srandom and random to use rand and srand */ -/* Taken from the Sandia changes. XXX We should really just include */ -/* srandom and random into Kerberos release, since rand() is a really */ -/* bad random number generator.... [tytso:19920616.2231EDT] */ -#define random() rand() -#define srandom(a) srand(a) -#ifndef unicos61 -#define utimes(a,b) utime(a,b) -#endif /* unicos61 */ -#endif /* SYSV */ - #define DEFAULT_PWD_STRING1 "Enter password:" #define DEFAULT_PWD_STRING2 "Re-enter password for verification:" @@ -1578,8 +1563,6 @@ void krb5int_set_prompt_types #define KRB5_VERIFY_MAGIC(structure,magic_number) \ if ((structure)->magic != (magic_number)) return (magic_number); -int krb5_seteuid (int); - /* to keep lint happy */ #define krb5_xfree(val) free((char FAR *)(val))