Compiling on Windows NT4 SP6 with VC++ 6.0.
cl /Fotmp32\randfile.obj -Iinc32 -Itmp32 /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0
/GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32
-DBN_ASM -MD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32 -c
.\crypto\rand\randfile.c
randfile.c
.\crypto\rand\randfile.c(214) : error C2220: warning treated as error - no
object file generated
.\crypto\rand\randfile.c(214) : warning C4018: '<' : signed/unsigned
mismatch
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I suggest either change line 214:
if (s != NULL && (strlen(s)+strlen(RFILE)+2 < size))
to
if (s != NULL && (strlen(s)+strlen(RFILE)+2 < (unsigned int) size))
or change "size" to an unsigned int (I assume it can never be negative
anyway).
Med venlig hilsen / Best regards
Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]