Skip to content

Commit 0a4f89b

Browse files
committed
Skip new OpenSSL ECC tests on 32bit
There has been reported that they fail on 32bit so they will be skipped till the issue is investigated.
1 parent e48ded4 commit 0a4f89b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext/openssl/tests/029.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ openssl_pkey_new() with EC key
44
<?php
55
if (!extension_loaded("openssl")) die("skip");
66
if (!defined("OPENSSL_KEYTYPE_EC")) die("skip no EC available");
7+
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
78
?>
89
--FILE--
910
<?php

ext/openssl/tests/ecc.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
--TEST--
22
openssl_*() with OPENSSL_KEYTYPE_EC
33
--SKIPIF--
4-
<?php if (!extension_loaded("openssl") && !defined("OPENSSL_KEYTYPE_EC")) print "skip"; ?>
4+
<?php
5+
if (!extension_loaded("openssl") && !defined("OPENSSL_KEYTYPE_EC")) print "skip";
6+
if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
7+
?>
58
--FILE--
69
<?php
710
$args = array(

0 commit comments

Comments
 (0)