This commit is contained in:
lsreevatsa 2006-03-29 11:59:07 +00:00
parent b7b75b8ab7
commit cd5d118158

View File

@ -241,7 +241,7 @@ 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.