mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix bug in stream position adjustment
svn:r1801
This commit is contained in:
@@ -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*
|
||||
|
||||
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user