Unsigned vs. signed problem removed

This commit is contained in:
Richard Levitte 2004-01-28 08:48:11 +00:00
parent 6df617a59d
commit 721a5e83f9

View file

@ -151,8 +151,8 @@ void DES_ede3_cfb_encrypt(const unsigned char *in,unsigned char *out,
DES_cblock *ivec,int enc)
{
register DES_LONG d0,d1,v0,v1;
register unsigned long l=length;
register int num=numbits,n=(numbits+7)/8,i;
register unsigned long l=length,n=((unsigned int)numbits+7)/8;
register int num=numbits,i;
DES_LONG ti[2];
unsigned char *iv;
unsigned char ovec[16];