]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adapt encryption test to change in generateHeader 38583/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 25 May 2023 14:31:27 +0000 (16:31 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 1 Jun 2023 15:59:53 +0000 (17:59 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/encryption/tests/Crypto/CryptTest.php

index 08d0bba26685649bb063d74f931fd4f405427907..2c975055e62ca051e0b8fba6078a81ed23e8c0ac 100644 (file)
@@ -139,7 +139,7 @@ class CryptTest extends TestCase {
         */
        public function dataTestGenerateHeader() {
                return [
-                       [null, 'HBEGIN:cipher:AES-128-CFB:keyFormat:hash:encoding:binary:HEND'],
+                       [null, 'HBEGIN:cipher:AES-128-CFB:keyFormat:hash2:encoding:binary:HEND'],
                        ['password', 'HBEGIN:cipher:AES-128-CFB:keyFormat:password:encoding:binary:HEND'],
                        ['hash', 'HBEGIN:cipher:AES-128-CFB:keyFormat:hash:encoding:binary:HEND']
                ];