Win32 fixes.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user