summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/tests
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-31 22:49:32 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-31 22:49:32 +0200
commit46e5e9bd73a68f7b50bb79f883a8bc6efacaca97 (patch)
tree76e7c2f8c2a6a7aa6bf4467c9686f77559f70a80 /apps/files_encryption/tests
parent8761242f5240319e234c9fa3020141e9791cdcfb (diff)
downloadnextcloud-server-46e5e9bd73a68f7b50bb79f883a8bc6efacaca97.tar.gz
nextcloud-server-46e5e9bd73a68f7b50bb79f883a8bc6efacaca97.zip
cleanup unused method legacyKeyRecryptKeyfile
Diffstat (limited to 'apps/files_encryption/tests')
-rwxr-xr-xapps/files_encryption/tests/crypt.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/files_encryption/tests/crypt.php b/apps/files_encryption/tests/crypt.php
index 32156eea272..e153a49a2c7 100755
--- a/apps/files_encryption/tests/crypt.php
+++ b/apps/files_encryption/tests/crypt.php
@@ -569,23 +569,6 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase {
}
- /**
- * @brief test decryption using legacy blowfish method
- * @depends testLegacyEncryptLong
- */
- function testLegacyKeyRecryptKeyfileEncrypt($crypted) {
-
- $recrypted = Encryption\Crypt::LegacyKeyRecryptKeyfile($crypted, $this->pass, array($this->genPublicKey));
-
- $this->assertNotEquals($this->dataLong, $recrypted['data']);
-
- return $recrypted;
-
- # TODO: search inencrypted text for actual content to ensure it
- # genuine transformation
-
- }
-
function testRenameFile() {
$filename = 'tmp-' . time();