Fix lint issues

This commit is contained in:
9seconds
2019-11-07 13:58:19 +03:00
parent 9e3683ce08
commit d4cd779c42
3 changed files with 2 additions and 80 deletions
+1
View File
@@ -85,6 +85,7 @@ func newBlockCipher(parent conntypes.StreamReadWriteCloser,
if err != nil {
return nil, fmt.Errorf("cannot read data: %w", err)
}
currentBuffer = append(currentBuffer, rv...)
}
cipher.decryptor.CryptBlocks(currentBuffer, currentBuffer)