com php-src: Revert "Skip new OpenSSL ECC tests on 32bit": ext/openssl/tests/029.phpt ext/openssl/tests/ecc.phpt
| From: | Dmitry Stogov | Date: | Wed, 29 Jun 2016 08:43:31 +0000 |
| Subject: | com php-src: Revert "Skip new OpenSSL ECC tests on 32bit": ext/openssl/tests/029.phpt ext/openssl/tests/ecc.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92711@lists.php.net to get a copy of this message | ||
Commit: f5dbba0d54329a1bcfb652180577a3cdadbc5077
Author: Dmitry Stogov <dmitry@zend.com> Wed, 29 Jun 2016 11:43:31 +0300
Parents: d53fa7f451ba3647fd417ce53dfd439282cb1b33
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f5dbba0d54329a1bcfb652180577a3cdadbc5077
Log:
Revert "Skip new OpenSSL ECC tests on 32bit"
This reverts commit 0a4f89bc292c3c82ff719cd79e66ef96c2079526.
Changed paths:
M ext/openssl/tests/029.phpt
M ext/openssl/tests/ecc.phpt
Diff:
diff --git a/ext/openssl/tests/029.phpt b/ext/openssl/tests/029.phpt
index 277721d..cf43e0e 100644
--- a/ext/openssl/tests/029.phpt
+++ b/ext/openssl/tests/029.phpt
@@ -4,7 +4,6 @@ openssl_pkey_new() with EC key
<?php
if (!extension_loaded("openssl")) die("skip");
if (!defined("OPENSSL_KEYTYPE_EC")) die("skip no EC available");
-if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
?>
--FILE--
<?php
diff --git a/ext/openssl/tests/ecc.phpt b/ext/openssl/tests/ecc.phpt
index a3924d3..5df0130 100644
--- a/ext/openssl/tests/ecc.phpt
+++ b/ext/openssl/tests/ecc.phpt
@@ -1,10 +1,7 @@
--TEST--
openssl_*() with OPENSSL_KEYTYPE_EC
--SKIPIF--
-<?php
-if (!extension_loaded("openssl") && !defined("OPENSSL_KEYTYPE_EC"))
print "skip";
-if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
-?>
+<?php if (!extension_loaded("openssl") &&
!defined("OPENSSL_KEYTYPE_EC")) print "skip"; ?>
--FILE--
<?php
$args = array(