projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4668056
)
Unsigned vs. signed problem removed
author
Richard Levitte
<levitte@openssl.org>
Wed, 28 Jan 2004 08:48:15 +0000
(08:48 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 28 Jan 2004 08:48:15 +0000
(08:48 +0000)
crypto/des/cfb64ede.c
patch
|
blob
|
history
diff --git
a/crypto/des/cfb64ede.c
b/crypto/des/cfb64ede.c
index 5a54c110263b069588ed78162b0183196f342ae2..453b078d30e2c80ab326cd8273478682b135a4dc 100644
(file)
--- 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];