1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-26 20:24:39 +01:00

Skip testDiffieHellmanKeyAgreement on TravisCI+5.3.3+Internal in the meantime.

This commit is contained in:
Andreas Fischer 2014-04-29 16:58:55 +02:00
parent 9e79fc2407
commit 602fb55195

View File

@ -271,6 +271,14 @@ abstract class Math_BigInteger_TestCase extends PhpseclibTestCase
*/
public function testDiffieHellmanKeyAgreement()
{
if (getenv('TRAVIS') && PHP_VERSION === '5.3.3'
&& MATH_BIGINTEGER_MODE === MATH_BIGINTEGER_MODE_INTERNAL
) {
$this->markTestIncomplete(
'This test hangs on PHP 5.3.3 using internal mode.'
);
}
// "Oakley Group 14" 2048-bit modular exponentiation group as used in
// SSH2 diffie-hellman-group14-sha1
$prime = $this->getInstance(