From: Florin Peter Date: Thu, 30 May 2013 23:55:48 +0000 (+0200) Subject: fix legacy key in until test X-Git-Tag: v5.0.8~125 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7017167bc3b1bbff11d43f1454350e8faeb3ab2;p=nextcloud-server.git fix legacy key in until test --- diff --git a/apps/files_encryption/tests/util.php b/apps/files_encryption/tests/util.php index 7aaa7e20a94..95a78f06504 100755 --- a/apps/files_encryption/tests/util.php +++ b/apps/files_encryption/tests/util.php @@ -75,7 +75,7 @@ class Test_Encryption_Util extends \PHPUnit_Framework_TestCase { $this->legacyData = realpath(dirname(__FILE__) . '/legacy-text.txt'); $this->legacyEncryptedData = realpath(dirname(__FILE__) . '/legacy-encrypted-text.txt'); $this->legacyEncryptedDataKey = realpath(dirname(__FILE__) . '/encryption.key'); - $this->legacyKey = '30943623843030686906'; + $this->legacyKey = "30943623843030686906\0\0\0\0"; $keypair = Encryption\Crypt::createKeypair();