diff options
author | Ulf Möller <ulf@openssl.org> | 1999-07-15 23:47:02 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-07-15 23:47:02 +0000 |
commit | cfa3747ba95ed154caedf99f847082c72f867a27 (patch) | |
tree | 82d0a855a52f39a202adc4fd56bf5e3b3ece4e2f /crypto/des/des_locl.h | |
parent | 4f6235f701587189bc159715902933e1ecedd15e (diff) | |
download | openssl-cfa3747ba95ed154caedf99f847082c72f867a27.tar.gz |
More DES library cleanups: remove references to srand/rand
and delete an unused file.
Diffstat (limited to 'crypto/des/des_locl.h')
-rw-r--r-- | crypto/des/des_locl.h | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h index a44da79b92..d6ea17cb68 100644 --- a/crypto/des/des_locl.h +++ b/crypto/des/des_locl.h @@ -73,6 +73,7 @@ #ifndef MSDOS #if !defined(VMS) || defined(__DECC) #include OPENSSL_UNISTD +#include <math.h> #endif #endif #include <openssl/des.h> @@ -82,44 +83,12 @@ #include <errno.h> #include <time.h> #include <io.h> -#ifndef RAND -#define RAND -#endif -#endif - -#ifdef VMS -#ifndef __DECC -#include <math.h> -#define RAND -#else -#if __CRTL_VER < 70000000 -#define RAND -#endif -#endif #endif #if defined(__STDC__) || defined(VMS) || defined(M_XENIX) || defined(MSDOS) #include <string.h> #endif -#ifndef RAND -#define RAND -#endif - -#ifdef linux -#undef RAND -#endif - -#ifdef MSDOS -#define getpid() 2 -#define RAND -#endif - -#ifdef RAND -#define srandom(s) srand(s) -#define random rand -#endif - #define ITERATIONS 16 #define HALF_ITERATIONS 8 |