mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
small fix
This commit is contained in:
parent
e318858152
commit
3be57d0169
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue