From e529e3e0a3bec9dffa273972ecda11127c9332fa Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 6 May 2004 19:51:50 +0000 Subject: [PATCH] Fix bug in stream position adjustment svn:r1801 --- branches/tor-0_0_6-patches/src/common/aes.c | 1 - trunk/src/common/aes.c | 1 - 2 files changed, 2 deletions(-) diff --git a/branches/tor-0_0_6-patches/src/common/aes.c b/branches/tor-0_0_6-patches/src/common/aes.c index f00822bca8..85d1ee7da9 100644 --- a/branches/tor-0_0_6-patches/src/common/aes.c +++ b/branches/tor-0_0_6-patches/src/common/aes.c @@ -57,7 +57,6 @@ _aes_fill_buf(aes_cnt_cipher_t *cipher) buf[ 8] = (counter1 >> 24) & 0xff; rijndaelEncrypt(cipher->rk, cipher->nr, buf, cipher->buf); - cipher->pos = 0; } aes_cnt_cipher_t* diff --git a/trunk/src/common/aes.c b/trunk/src/common/aes.c index f00822bca8..85d1ee7da9 100644 --- a/trunk/src/common/aes.c +++ b/trunk/src/common/aes.c @@ -57,7 +57,6 @@ _aes_fill_buf(aes_cnt_cipher_t *cipher) buf[ 8] = (counter1 >> 24) & 0xff; rijndaelEncrypt(cipher->rk, cipher->nr, buf, cipher->buf); - cipher->pos = 0; } aes_cnt_cipher_t*