From 7f3b178d7340708ae6593e733552062a60de68d4 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 27 Nov 2013 11:46:24 +0100 Subject: some small changes according to the review comments --- apps/files_encryption/lib/stream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_encryption/lib/stream.php') diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php index 4b0156e661e..40b9837b950 100644 --- a/apps/files_encryption/lib/stream.php +++ b/apps/files_encryption/lib/stream.php @@ -102,7 +102,7 @@ class Stream { $util = new Util($this->rootView, $this->userId); - // get the key ID which we want to use, canm be the users key or the + // get the key ID which we want to use, can be the users key or the // public share key $this->keyId = $util->getKeyId(); @@ -527,7 +527,7 @@ class Stream { $this->encKeyfiles = Crypt::multiKeyEncrypt($this->plainKey, $publicKeys); // Save the new encrypted file key - Keymanager::setFileKey($this->rootView, $this->relPath, $this->keyId, $this->encKeyfiles['data']); + Keymanager::setFileKey($this->rootView, $this->relPath, $this->encKeyfiles['data']); // Save the sharekeys Keymanager::setShareKeys($this->rootView, $this->relPath, $this->encKeyfiles['keys']); -- cgit v1.2.3