aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Stream/Encryption.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Stream/Encryption.php')
-rw-r--r--lib/private/Files/Stream/Encryption.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Files/Stream/Encryption.php b/lib/private/Files/Stream/Encryption.php
index 9cc8b238ee1..cebf7bafced 100644
--- a/lib/private/Files/Stream/Encryption.php
+++ b/lib/private/Files/Stream/Encryption.php
@@ -37,7 +37,6 @@ use function is_array;
use function stream_context_create;
class Encryption extends Wrapper {
-
/** @var \OC\Encryption\Util */
protected $util;
@@ -375,7 +374,6 @@ class Encryption extends Wrapper {
// only allow writes on seekable streams, or at the end of the encrypted stream
if (!$this->readOnly && ($resultFseek || $positionInFile === $this->size)) {
-
// switch the writeFlag so flush() will write the block
$this->writeFlag = true;
$this->fileUpdated = true;
@@ -392,7 +390,7 @@ class Encryption extends Wrapper {
$length += $remainingLength;
$data = '';
// if $data doesn't fit the current block, the fill the current block and reiterate
- // after the block is filled, it is flushed and $data is updatedxxx
+ // after the block is filled, it is flushed and $data is updatedxxx
} else {
$this->cache = substr($this->cache, 0, $blockPosition) .
substr($data, 0, $this->unencryptedBlockSize - $blockPosition);