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>
|
||||
--EXTENSIONS--
|
||||
ldap
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
|
||||
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require "connect.inc";
|
||||
|
|
|
@ -6,10 +6,10 @@ Chad Sikorra <Chad.Sikorra@gmail.com>
|
|||
ldap
|
||||
--SKIPIF--
|
||||
<?php
|
||||
|
||||
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--
|
||||
<?php
|
||||
require "connect.inc";
|
||||
|
|
|
@ -6,10 +6,10 @@ Chad Sikorra <Chad.Sikorra@gmail.com>
|
|||
ldap
|
||||
--SKIPIF--
|
||||
<?php
|
||||
|
||||
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_TLS1_3")) {
|
||||
die('LDAP_OPT_X_TLS_PROTOCOL_TLS1_3 unsupported.');
|
||||
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
|
||||
die('skip LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require "connect.inc";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue