This commit is contained in:
parent
b7b75b8ab7
commit
cd5d118158
@ -241,8 +241,8 @@ namespace sscs.crypto
|
||||
fsDecrypt.Close();
|
||||
return null;
|
||||
}
|
||||
ulong fileLen = fsDecrypt.Length - HASH_SIZE;
|
||||
byte[] fromEncrypt = new byte[fileLen];
|
||||
ulong fileLen = (ulong)(fsDecrypt.Length - HASH_SIZE);
|
||||
byte[] fromEncrypt = new byte[fileLen];
|
||||
|
||||
//Read the data out of the crypto stream.
|
||||
int bytesRead = csDecrypt.Read(fromEncrypt, 0, fromEncrypt.Length);
|
||||
|
Loading…
Reference in New Issue
Block a user