1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 12 Sep 2022 07:24:43 -0400
Subject: Skip test failing on 32-bits architectures
---
tests/Unit/Crypt/BlowfishTest.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/Unit/Crypt/BlowfishTest.php b/tests/Unit/Crypt/BlowfishTest.php
index e9bb4c8..c9bbf6e 100644
--- a/tests/Unit/Crypt/BlowfishTest.php
+++ b/tests/Unit/Crypt/BlowfishTest.php
@@ -74,6 +74,9 @@ class Unit_Crypt_BlowfishTest extends PhpseclibTestCase
*/
public function testVectors($engine, $engineName, $key, $plaintext, $expected)
{
+ if (PHP_INT_SIZE == 4) {
+ self::markTestSkipped('Skip test failing on 32-bit architectures');
+ }
$bf = new Blowfish();
$bf->setKey($key);
if (!$bf->isValidEngine($engine)) {
|