diff options
author | Richard Levitte <levitte@openssl.org> | 2004-01-28 08:48:11 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-01-28 08:48:11 +0000 |
commit | 721a5e83f92d07e2f76355e2128b4dae45f2d50d (patch) | |
tree | 5013c6cf19ae6f5b2c8c1fc2e73d8e96165938cc /crypto/des/cfb64ede.c | |
parent | 6df617a59da15286014abe03f9d3b5e2d9835d3d (diff) | |
download | openssl-721a5e83f92d07e2f76355e2128b4dae45f2d50d.tar.gz |
Unsigned vs. signed problem removed
Diffstat (limited to 'crypto/des/cfb64ede.c')
-rw-r--r-- | crypto/des/cfb64ede.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/cfb64ede.c b/crypto/des/cfb64ede.c index 5a54c11026..453b078d30 100644 --- a/crypto/des/cfb64ede.c +++ b/crypto/des/cfb64ede.c @@ -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]; |