mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
[skip ci] Fix ldap skipif
This commit is contained in:
parent
51050427f4
commit
fd47cd8b69
3 changed files with 11 additions and 5 deletions
|
@ -4,6 +4,12 @@ ldap_set_option() - Basic test for TLS protocol max ldap option
|
||||||
Chad Sikorra <Chad.Sikorra@gmail.com>
|
Chad Sikorra <Chad.Sikorra@gmail.com>
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
ldap
|
ldap
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
|
||||||
|
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
require "connect.inc";
|
require "connect.inc";
|
||||||
|
|
|
@ -6,10 +6,10 @@ Chad Sikorra <Chad.Sikorra@gmail.com>
|
||||||
ldap
|
ldap
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
|
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
|
||||||
die('LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
|
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
require "connect.inc";
|
require "connect.inc";
|
||||||
|
|
|
@ -6,10 +6,10 @@ Chad Sikorra <Chad.Sikorra@gmail.com>
|
||||||
ldap
|
ldap
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
|
||||||
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_TLS1_3")) {
|
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
|
||||||
die('LDAP_OPT_X_TLS_PROTOCOL_TLS1_3 unsupported.');
|
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
require "connect.inc";
|
require "connect.inc";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue