]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix bug in stream position adjustment
authorNick Mathewson <nickm@torproject.org>
Thu, 6 May 2004 19:51:50 +0000 (19:51 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 6 May 2004 19:51:50 +0000 (19:51 +0000)
svn:r1801

src/common/aes.c

index f00822bca83673babeef87195e2cc3666204a3c0..85d1ee7da93f98e96d6d8960523d5ecd28106c9d 100644 (file)
@@ -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*