diff options
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 |