diff options
author | Richard Levitte <levitte@openssl.org> | 2007-12-03 09:02:29 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2007-12-03 09:02:29 +0000 |
commit | 28f7e60d474242aebea6d964f32521e2e27eadeb (patch) | |
tree | 943564bd322c9cd3d42f1f71fe739004fe59c553 | |
parent | 544b82e4931294dcb9ec42655be5613f031c116c (diff) |
Change submitted by Doug Kaufman. He writes:
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.
Since I am in the US, I have sent notifications to the Bureau of
Industry and Security and to the NSA.
-rw-r--r-- | crypto/bio/b_sock.c | 2 | ||||
-rw-r--r-- | doc/apps/ts.pod | 2 | ||||
-rw-r--r-- | test/testtsa | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index e4c7ee1277..4ed8aa3679 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -800,7 +800,7 @@ int BIO_accept(int sock, char **addr) 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 diff --git a/doc/apps/ts.pod b/doc/apps/ts.pod index 3495f46c9f..aba3b92fd3 100644 --- a/doc/apps/ts.pod +++ b/doc/apps/ts.pod @@ -370,7 +370,7 @@ See L<ca(1)|ca(1)> for description. (Optional) 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> diff --git a/test/testtsa b/test/testtsa index e403d9ee31..bb653b5f73 100644 --- a/test/testtsa +++ b/test/testtsa @@ -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" |