mirror of
https://github.com/atom0s/Steamless.git
synced 2024-12-28 23:37:41 +01:00
API: Changed the AES buffer size from 2048 to 16 to correct block size alignment issues.
This commit is contained in:
parent
87732ea284
commit
c58518a65f
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ namespace Steamless.API.Crypto
|
||||||
|
|
||||||
// Decrypt the data..
|
// Decrypt the data..
|
||||||
var totalBuffer = new List<byte>();
|
var totalBuffer = new List<byte>();
|
||||||
var buffer = new byte[2048];
|
var buffer = new byte[16];
|
||||||
while ((cStream.Read(buffer, 0, 2048)) > 0)
|
while ((cStream.Read(buffer, 0, 16)) > 0)
|
||||||
totalBuffer.AddRange(buffer);
|
totalBuffer.AddRange(buffer);
|
||||||
|
|
||||||
return totalBuffer.ToArray();
|
return totalBuffer.ToArray();
|
||||||
|
|
Loading…
Reference in a new issue