> Second one, short version
> =========================
> This patch also needed:
> --- ssl/s3_pkt.c.orig Tue Feb 22 03:59:24 2000
> +++ ssl/s3_pkt.c Fri Feb 25 10:39:17 2000
> @@ -846,7 +846,7 @@
> if (dest_maxlen > 0)
> {
> n = dest_maxlen - *dest_len; /* available space in
> 'dest' */
> - if (rr->length < n)
> + if (rr->length < (unsigned int)n)
> n = rr->length; /* available bytes */
>
> /* now move 'n' bytes: */
>
> Why?
> ====
> I get this error, which speaks for itself:
> cl /Fotmp32dll\s3_pkt.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2
> /Gs0 /GF /Gy
> /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DBN_ASM -DMD5_ASM -DSHA1_A
> SM -DRMD160_ASM /Fdout32dll /GD -D_WINDLL -D_DLL -c .\ssl\s3_pkt.c
> s3_pkt.c
> .\ssl\s3_pkt.c(849) : error C2220: warning treated as error - no object file
> generated
> .\ssl\s3_pkt.c(849) : warning C4018: '<' : signed/unsigned mismatch
the fix is not to add a cast but to declare 'n' as unsigned int
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]