small fix

This commit is contained in:
jknockaert 2014-10-19 22:54:34 +02:00
parent e318858152
commit 3be57d0169

View file

@ -398,7 +398,8 @@ class Util {
// we set the cipher
// and we update the size
if ($this->containHeader($path)) {
$header = fread($stream,Crypt::BLOCKSIZE);
$data = fread($stream,Crypt::BLOCKSIZE);
$header = Crypt::parseHeader($data);
$cipher = Crypt::getCipher($header);
$size -= Crypt::BLOCKSIZE;
}