summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2016-01-05 12:51:05 +0100
committerLukas Reschke <lukas@owncloud.com>2016-02-09 23:43:25 +0100
commit40a5ba72fc868207356c9143c99a947f1a6e6500 (patch)
treecea061a08b9d356b0b4b8bc9050ac96f81021f19 /settings
parentdb8f267647a8d6682f132f8d6dc1334daf90fa4e (diff)
downloadnextcloud-server-40a5ba72fc868207356c9143c99a947f1a6e6500.tar.gz
nextcloud-server-40a5ba72fc868207356c9143c99a947f1a6e6500.zip
sign all encrypted blocks and check signature on decrypt
Diffstat (limited to 'settings')
-rw-r--r--settings/changepassword/controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/changepassword/controller.php b/settings/changepassword/controller.php
index bfa599c1d04..8469ec1423a 100644
--- a/settings/changepassword/controller.php
+++ b/settings/changepassword/controller.php
@@ -89,7 +89,8 @@ class Controller {
$crypt = new \OCA\Encryption\Crypto\Crypt(
\OC::$server->getLogger(),
\OC::$server->getUserSession(),
- \OC::$server->getConfig());
+ \OC::$server->getConfig(),
+ \OC::$server->getL10N('encryption'));
$keyStorage = \OC::$server->getEncryptionKeyStorage();
$util = new \OCA\Encryption\Util(
new \OC\Files\View(),