Win32 fixes.

This commit is contained in:
Dr. Stephen Henson
2004-03-17 01:05:42 +00:00
parent 7884f064f1
commit 8b3b01a2d4
3 changed files with 3 additions and 3 deletions

View File

@@ -309,7 +309,7 @@ bad:
num -= offset; num -= offset;
if ((length == 0) || (length > num)) length=(unsigned int)num; if ((length == 0) || ((long)length > num)) length=(unsigned int)num;
if(derout) { if(derout) {
if(BIO_write(derout, str + offset, length) != (int)length) { if(BIO_write(derout, str + offset, length) != (int)length) {
BIO_printf(bio_err, "Error writing output\n"); BIO_printf(bio_err, "Error writing output\n");

View File

@@ -84,7 +84,7 @@
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include "e_os.h" #include "openssl/e_os.h"
/* VxWorks defines SSiZE_MAX with an empty value causing compile errors */ /* VxWorks defines SSiZE_MAX with an empty value causing compile errors */
#if defined(VXWORKS) #if defined(VXWORKS)

View File

@@ -56,7 +56,7 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#include "e_os.h" #include "openssl/e_os.h"
#include "des_locl.h" #include "des_locl.h"
/* The input and output are loaded in multiples of 8 bits. /* The input and output are loaded in multiples of 8 bits.