summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-27 12:02:27 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-05-27 17:35:06 +0200
commit8b355788333f9078066b3f877c4e5c1c4001597c (patch)
tree662a18123c5f47951afa683edc91acbadd14edca /apps/files_encryption/lib
parentf8d1c32112c919bbdfc89a35d77ea84412800470 (diff)
downloadnextcloud-server-8b355788333f9078066b3f877c4e5c1c4001597c.tar.gz
nextcloud-server-8b355788333f9078066b3f877c4e5c1c4001597c.zip
fix migration from old to new encryption
Diffstat (limited to 'apps/files_encryption/lib')
-rwxr-xr-xapps/files_encryption/lib/crypt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/crypt.php b/apps/files_encryption/lib/crypt.php
index f5b7a8a0a40..009a648016b 100755
--- a/apps/files_encryption/lib/crypt.php
+++ b/apps/files_encryption/lib/crypt.php
@@ -613,7 +613,7 @@ class Crypt
$decrypted = $bf->decrypt( $content );
- return rtrim( $decrypted, "\0" );;
+ return $decrypted;
}