Commit c08c1f76 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Win32 fixes.

parent 29348d3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ bad:

	num -= offset;

	if ((length == 0) || (length > num)) length=(unsigned int)num;
	if ((length == 0) || ((long)length > num)) length=(unsigned int)num;
	if(derout) {
		if(BIO_write(derout, str + offset, length) != (int)length) {
			BIO_printf(bio_err, "Error writing output\n");
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@
#include <openssl/err.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 */
#if defined(VXWORKS)
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@
 * [including the GNU Public Licence.]
 */

#include "e_os.h"
#include "openssl/e_os.h"
#include "des_locl.h"

/* The input and output are loaded in multiples of 8 bits.