diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-27 12:21:39 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-27 17:35:28 +0200 |
commit | df22a7c4954acb67c9365f9900bd7a3f70f13487 (patch) | |
tree | 7da644cb3478e26ca29e21b83964ae071e47836d /apps/files_encryption/hooks | |
parent | 8b355788333f9078066b3f877c4e5c1c4001597c (diff) | |
download | nextcloud-server-df22a7c4954acb67c9365f9900bd7a3f70f13487.tar.gz nextcloud-server-df22a7c4954acb67c9365f9900bd7a3f70f13487.zip |
make legacyDecrypt() private als always call legacyBlockDecrypt() from other classes
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r-- | apps/files_encryption/hooks/hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php index 07072fb8c44..9af1f2c6459 100644 --- a/apps/files_encryption/hooks/hooks.php +++ b/apps/files_encryption/hooks/hooks.php @@ -76,7 +76,7 @@ class Hooks { && $encLegacyKey = $userView->file_get_contents( 'encryption.key' )
) {
- $plainLegacyKey = Crypt::legacyDecrypt( $encLegacyKey, $params['password'] );
+ $plainLegacyKey = Crypt::legacyBlockDecrypt( $encLegacyKey, $params['password'] );
$session->setLegacyKey( $plainLegacyKey );
|