diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-27 11:46:24 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-27 11:46:24 +0100 |
commit | 7f3b178d7340708ae6593e733552062a60de68d4 (patch) | |
tree | 7952196a1001b7a1a32959c0a274d7162614096d /apps/files_encryption/lib/stream.php | |
parent | 49038545f8d658b75865413444aebddedf178dec (diff) | |
download | nextcloud-server-7f3b178d7340708ae6593e733552062a60de68d4.tar.gz nextcloud-server-7f3b178d7340708ae6593e733552062a60de68d4.zip |
some small changes according to the review comments
Diffstat (limited to 'apps/files_encryption/lib/stream.php')
-rw-r--r-- | apps/files_encryption/lib/stream.php | 4 |
1 files changed, 2 insertions, 2 deletions
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']); |