I just compiled the 9.9-dev version from the 12022007 tarball under
DJGPP. There were only 2 changes needed, one for b_sock.c, since DJGPP
with WATT32 doesn't define socklen_t and one for testtsa to handle DOS
style path separators. I also noted what seems to be a typographical
error in ts.pod. The test suite passes. The patch is attached.
openssl version -a shows:
OpenSSL 0.9.9-dev XX xxx XXXX
built on: Sun Dec 2 19:13:06 PST 2007
platform: DJGPP
options: bn(64,32) md2(int) rc4(4x,int) des(ptr,risc1,16,long) blowfish(idx)
compiler: gcc -I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN
-fomit-frame-pointer -O2 -Wall -DOPENSSL_BN_ASM_PART_WORDS
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
-DRMD160_ASM -DAES_ASM
OPENSSLDIR: "/dev/env/DJDIR/ssl"
Since I am in the US, I have sent notifications to the Bureau of Industry
and Security and to the NSA.
Doug
--
Doug Kaufman
Internet: [EMAIL PROTECTED]
--- crypto/bio/b_sock.c.ori 2007-09-16 11:00:28.000000000 -0800
+++ crypto/bio/b_sock.c 2007-12-02 14:37:06.000000000 -0800
@@ -800,7 +800,7 @@
if (addr == NULL) goto end;
#ifdef EAI_FAMILY
-# if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_BEOS_BONE)
+# if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_BEOS_BONE) ||
defined(OPENSSL_SYS_MSDOS)
# define SOCKLEN_T size_t
# else
# define SOCKLEN_T socklen_t
--- doc/apps/ts.pod.ori 2006-11-07 05:17:44.000000000 -0800
+++ doc/apps/ts.pod 2007-12-02 17:25:18.000000000 -0800
@@ -370,7 +370,7 @@
The name of the file containing the hexadecimal serial number of the
last time stamp response created. This number is incremented by 1 for
-each response. If the file does not exit at the time of response
+each response. If the file does not exist at the time of response
generation a new file is created with serial number 1. (Mandatory)
=item B<crypto_device>
--- test/testtsa.ori 2006-11-07 09:01:48.000000000 -0800
+++ test/testtsa 2007-12-02 16:22:30.000000000 -0800
@@ -5,7 +5,11 @@
#
SH="/bin/sh"
-PATH=../../apps:$PATH
+if test "$OSTYPE" = msdosdjgpp; then
+ PATH="../apps\;$PATH"
+else
+ PATH="../apps:$PATH"
+fi
export SH PATH
OPENSSL_CONF="../CAtsa.cnf"