Fix Shadowsocks OTA

pull/215/head v1.18.1
v2ray 2016-07-04 09:47:14 +02:00
parent 9c3ebc0453
commit d5cb2e88c9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func ChunkKeyGenerator(iv []byte) func() []byte {
return func() []byte {
newKey := make([]byte, 0, len(iv)+4)
newKey = append(newKey, iv...)
serial.IntToBytes(chunkId, newKey)
newKey = serial.IntToBytes(chunkId, newKey)
chunkId++
return newKey
}