summaryrefslogtreecommitdiffstats
path: root/crypto/aes/aes_cfb.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-04-20 13:54:34 +0000
committerNils Larsch <nils@openssl.org>2006-04-20 13:54:34 +0000
commit49c5f38d3dceda33dcbdc940079f6f86ff3d0c03 (patch)
treeb2a3bd6312b7a55fa743e410b5e3a35a239df637 /crypto/aes/aes_cfb.c
parentf8296228f1f7d30e8fd7c9188dc90b0211ad8514 (diff)
undo accidental commit
Diffstat (limited to 'crypto/aes/aes_cfb.c')
-rw-r--r--crypto/aes/aes_cfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/aes/aes_cfb.c b/crypto/aes/aes_cfb.c
index 294f746f66..49f0411010 100644
--- a/crypto/aes/aes_cfb.c
+++ b/crypto/aes/aes_cfb.c
@@ -202,7 +202,7 @@ void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
assert(*num == 0);
memset(out,0,(length+7)/8);
- for(n=0 ; n < length * 8; ++n)
+ for(n=0 ; n < length ; ++n)
{
c[0]=(in[n/8]&(1 << (7-n%8))) ? 0x80 : 0;
AES_cfbr_encrypt_block(c,d,1,key,ivec,enc);