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