mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
[skip ci] Fix ldap skipif
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user