The attached patch adds Configure script support for VxWorks for PowerPC
860, fixes a compile problem with VxWorks builds, and fixes build problems
with no-md2.
diff -ur openssl-orig/Configure openssl-work/Configure
--- openssl-orig/Configure 2003-04-09 22:46:55.000000000 -0700
+++ openssl-work/Configure 2003-09-26 23:11:36.000000000 -0700
@@ -560,6 +560,7 @@
"vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DCPU=PPC405 -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::",
"vxworks-ppc750","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h \$(DEBUG_FLAG):::VXWORKS:-r:::::",
"vxworks-ppc750-debug","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DDEBUG -g:::VXWORKS:-r:::::",
+"vxworks-ppc860","ccppc:-g -msoft-float -DCPU=PPC860 -DNO_STRINGS_H -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::",
##### Compaq Non-Stop Kernel (Tandem)
"tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::",
diff -ur openssl-orig/crypto/md2/md2test.c openssl-work/crypto/md2/md2test.c
--- openssl-orig/crypto/md2/md2test.c 2003-02-19 03:22:18.000000000 -0800
+++ openssl-work/crypto/md2/md2test.c 2003-09-26 23:12:02.000000000 -0700
@@ -59,7 +59,9 @@
#include
#include
#include
+#ifndef OPENSSL_NO_MD2
#include
+#endif
#include "../e_os.h"
diff -ur openssl-orig/e_os.h openssl-work/e_os.h
--- openssl-orig/e_os.h 2002-12-04 01:54:22.000000000 -0800
+++ openssl-work/e_os.h 2003-09-26 23:12:14.000000000 -0700
@@ -520,7 +520,7 @@
#if defined(ioctlsocket)
#undef ioctlsocket
#endif
-#define ioctlsocket(a,b,c) ioctl((a),(b),*(c))
+#define ioctlsocket(a,b,c) ioctl((a),(b),*(int*)(c))
#include
#include
diff -ur openssl-orig/test/md2test.c openssl-work/test/md2test.c
--- openssl-orig/test/md2test.c 2003-02-19 03:22:18.000000000 -0800
+++ openssl-work/test/md2test.c 2003-09-26 23:12:20.000000000 -0700
@@ -59,7 +59,9 @@
#include
#include
#include
+#ifndef OPENSSL_NO_MD2
#include
+#endif
#include "../e_os.h"