diff options
author | Andy Polyakov <appro@openssl.org> | 1999-12-19 21:35:29 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 1999-12-19 21:35:29 +0000 |
commit | a7c5241f5f23bf8eeb41efd7f4932f9e1359a38d (patch) | |
tree | 91faf211edc31118dc5f7c5e897806a7ba70f9bb | |
parent | 099f1b32c8a3334699b6884ba23824a49461d01f (diff) |
Late break-in patch for MacOS support.
-rw-r--r-- | MacOS/OpenSSL.mcp.hqx | 10 | ||||
-rw-r--r-- | MacOS/opensslconf.h | 5 | ||||
-rw-r--r-- | crypto/cryptlib.c | 2 | ||||
-rw-r--r-- | crypto/md32_common.h | 3 | ||||
-rw-r--r-- | crypto/mem.c | 2 | ||||
-rw-r--r-- | e_os.h | 6 |
6 files changed, 15 insertions, 13 deletions
diff --git a/MacOS/OpenSSL.mcp.hqx b/MacOS/OpenSSL.mcp.hqx index dcbcf2edad..813288a683 100644 --- a/MacOS/OpenSSL.mcp.hqx +++ b/MacOS/OpenSSL.mcp.hqx @@ -8,8 +8,8 @@ VN!!!!kbi!!!25!!!!+-"!J%!!!!!!!!!!!"$Ef4P9f&bFQP[FL"3FQpUC@0d!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$+J! !!d!!!'%r!!"N!!!!!bS!!!"I!!8!!!!!!'!!!3!!!!!!CJ!!!P`!!!*J!!!E2`! -!(!!!!!*F!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$!!!!$!!!!!-!!!!-Y)+VS2r -rhp-!!!!!!!!!!!!!!!!!!!!!$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!(!!!!!*F!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$!!!!$!!!!!-!!!!-Y),)q`! +!HMS!!!!!!!!!!!!!!!!!!!!!$!!!!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!T`FQ9Q!!3UPJ!!!b3!!!!!!!#1F`!!!!a`FQ9Q!!6#J!!!!b8 !!!!!!!$[bJ!!!-4`FQ9Q!!5%A!!!!bB!!!!!!!$aDJ!!!4K`FQ9Q!!5EfJ!!!bF !!!!!!!&9$J!!!+K`FQ9Q!!38Y3!!!bJ!!!!!!!$`MJ!!!#j`FQ9Q!!4U(3!!!bN -!!!!!!!'bF!!!!Ja`FQ9Q!!5"83!!!bS!!!!!pP)!!!: +!!!!!!!'bF!!!!Ja`FQ9Q!!5"83!!!bS!!!!!eT8!!!: diff --git a/MacOS/opensslconf.h b/MacOS/opensslconf.h index e7c6b7c981..4a6d85d33c 100644 --- a/MacOS/opensslconf.h +++ b/MacOS/opensslconf.h @@ -6,8 +6,6 @@ #endif #endif -#define OPENSSL_UNISTD <unistd.h> - #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) #define IDEA_INT unsigned int #endif @@ -115,4 +113,5 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! #ifndef __POWERPC__ #define SHA_XARRAY -#endif
\ No newline at end of file +#endif + diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 5142b6b6bf..a8f29f1e65 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -183,7 +183,7 @@ unsigned long CRYPTO_thread_id(void) ret=(unsigned long)GetCurrentTask(); #elif defined(WIN32) ret=(unsigned long)GetCurrentThreadId(); -#elif defined(MSDOS) +#elif defined(GETPID_IS_MEANINGLESS) ret=1L; #else ret=(unsigned long)getpid(); diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 8d9059f95a..470a8c3e51 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -183,11 +183,10 @@ # define ROTATE(a,n) _lrotl(a,n) # elif defined(__MWERKS__) # ifdef __POWERPC__ -# defined ROTATE(a,n) __rlwinm(a,n,0,31) +# define ROTATE(a,n) __rlwinm(a,n,0,31) # else # define ROTATE(a,n) __rol(a,n) # endif - B # elif defined(__GNUC__) && __GNUC__>=2 && !defined(NO_ASM) /* * Some GNU C inline assembler templates. Note that these are diff --git a/crypto/mem.c b/crypto/mem.c index a9529ee274..67f8d12cc0 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -93,7 +93,7 @@ static void (*free_func)(void *) = free; static void (*realloc_debug_func)()= NULL; static void (*free_debug_func)()= NULL; static void (*set_debug_options_func)()= NULL; - static int (*get_debug_options_func)()= NULL; + static long (*get_debug_options_func)()= NULL; #endif @@ -251,7 +251,11 @@ extern "C" { # endif # else /* !defined VMS */ -# include OPENSLL_UNISTD +# ifdef OPENSSL_UNISTD +# include OPENSLL_UNISTD +# else +# include <unistd.h> +# endif # ifndef NO_SYS_TYPES_H # include <sys/types.h> # endif |