Support default dc idx from configs

This commit is contained in:
9seconds
2018-09-21 09:47:37 +03:00
parent 8268620615
commit 1e9bbfae55
24 changed files with 187 additions and 123 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func (b *BlockCipher) Read(p []byte) (int, error) {
}
b.decryptor.CryptBlocks(buf, buf)
b.buf.Write(buf)
b.buf.Write(buf) // nolint: gosec
return b.flush(p)
}