summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-06 19:51:50 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-06 19:51:50 +0000
commit6cfa2835a15ac64b8055832c31dd3e55b5da7567 (patch)
tree4cba5594b9e12bcb62bf83feee3b4f0fe8195c39
parentebe8fa0d62073e97745cba6fb5d461b704bd9bd2 (diff)
downloadtor-6cfa2835a15ac64b8055832c31dd3e55b5da7567.tar.gz
tor-6cfa2835a15ac64b8055832c31dd3e55b5da7567.zip
Fix bug in stream position adjustment
svn:r1801
-rw-r--r--src/common/aes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index f00822bca8..85d1ee7da9 100644
--- a/src/common/aes.c
+++ b/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*