mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
- Ensure that we're always checking for OpenSSL support, rather than just for ext/openssl being loaded
This commit is contained in:
parent
05c24934cf
commit
e8be4d93c5
@ -1,9 +1,12 @@
|
||||
--TEST--
|
||||
Phar::getSupportedSignatures()
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (extension_loaded("hash")) die("skip extension hash conflicts"); ?>
|
||||
<?php if (extension_loaded("openssl")) die("skip extension openssl loaded"); ?>
|
||||
<?php
|
||||
if (!extension_loaded("phar")) die("skip");
|
||||
if (extension_loaded("hash")) die("skip extension hash conflicts");
|
||||
$arr = Phar::getSupportedSignatures();
|
||||
if (in_array("OpenSSL", $arr)) die("skip openssl support enabled");
|
||||
?>
|
||||
--INI--
|
||||
phar.require_hash=0
|
||||
phar.readonly=0
|
||||
|
@ -1,9 +1,12 @@
|
||||
--TEST--
|
||||
Phar::getSupportedSignatures()
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (extension_loaded("hash")) die("skip extension hash conflicts"); ?>
|
||||
<?php if (!extension_loaded("openssl")) die("skip extension openssl loaded"); ?>
|
||||
<?php
|
||||
if (!extension_loaded("phar")) die("skip");
|
||||
if (extension_loaded("hash")) die("skip extension hash conflicts");
|
||||
$arr = Phar::getSupportedSignatures();
|
||||
if (!in_array("OpenSSL", $arr)) die("skip openssl support required");
|
||||
?>
|
||||
--INI--
|
||||
phar.require_hash=0
|
||||
phar.readonly=0
|
||||
|
@ -4,9 +4,8 @@ Phar::getSupportedSignatures()
|
||||
<?php
|
||||
if (!extension_loaded("phar")) die("skip");
|
||||
if (!extension_loaded("hash")) die("skip extension hash required");
|
||||
if (extension_loaded("openssl")) die("skip extension openssl loaded");
|
||||
$arr = Phar::getSupportedSignatures();
|
||||
if (in_array("OpenSSL", $arr)) die ("skip native openssl support enabled");
|
||||
if (in_array("OpenSSL", $arr)) die ("skip openssl support enabled");
|
||||
?>
|
||||
--INI--
|
||||
phar.require_hash=0
|
||||
|
@ -1,9 +1,12 @@
|
||||
--TEST--
|
||||
Phar::getSupportedSignatures()
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("hash")) die("skip extension hash required"); ?>
|
||||
<?php if (!extension_loaded("openssl")) die("skip extension openssl required"); ?>
|
||||
<?php
|
||||
if (!extension_loaded("phar")) die("skip");
|
||||
if (!extension_loaded("hash")) die("skip extension hash required");
|
||||
$arr = Phar::getSupportedSignatures();
|
||||
if (!in_array("OpenSSL", $arr)) die("skip openssl support required");
|
||||
?>
|
||||
--INI--
|
||||
phar.require_hash=0
|
||||
phar.readonly=0
|
||||
|
@ -6,7 +6,7 @@ if (!extension_loaded("phar")) die("skip");
|
||||
if (!extension_loaded("zlib")) die("skip zlib not loaded");
|
||||
if (!extension_loaded("bz2")) die("skip bz2 not loaded");
|
||||
$arr = Phar::getSupportedSignatures();
|
||||
if (in_array("OpenSSL", $arr)) die("skip native openssl support enabled");
|
||||
if (in_array("OpenSSL", $arr)) die("skip openssl support enabled");
|
||||
?>
|
||||
--INI--
|
||||
phar.readonly=0
|
||||
|
Loading…
Reference in New Issue
Block a user