diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-06-07 15:17:19 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-07 15:17:19 +0000 |
commit | 1e93c88c1d5de8a51e8ab015af5bed7c5e0b0afd (patch) | |
tree | e598bb8ee0de385cc37ff3fecff5861ab61d72d7 /src/include/k5-int.h | |
parent | 2fa7544eddb06835e33f5f078d537327bbfe0b39 (diff) | |
download | krb5-1e93c88c1d5de8a51e8ab015af5bed7c5e0b0afd.zip krb5-1e93c88c1d5de8a51e8ab015af5bed7c5e0b0afd.tar.gz krb5-1e93c88c1d5de8a51e8ab015af5bed7c5e0b0afd.tar.bz2 |
* 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
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r-- | src/include/k5-int.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 0781ef1..3bed0a2 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)) |