Skip to content

Commit 9e9fe17

Browse files
committed
ext/ldap: few new unit tests (tls13 protocol).
1 parent e7b1f2a commit 9e9fe17

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

ext/ldap/tests/ldap_set_option_tls_protocol_max_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ ldap_set_option() - Basic test for TLS protocol max ldap option
44
Chad Sikorra <[email protected]>
55
--EXTENSIONS--
66
ldap
7+
--SKIPIF--
8+
<?php
9+
10+
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_MAX")) {
11+
die('LDAP_OPT_X_TLS_PROTOCOL_MAX unsupported.');
12+
}
713
--FILE--
814
<?php
915
require "connect.inc";

ext/ldap/tests/ldap_set_option_tls_protocol_min_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ ldap_set_option() - Basic test for TLS protocol min ldap option
44
Chad Sikorra <[email protected]>
55
--EXTENSIONS--
66
ldap
7+
--SKIPIF--
8+
<?php
9+
10+
if (!defined("LDAP_OPT_X_TLS_PROTOCOL_TLS1_3")) {
11+
die('LDAP_OPT_X_TLS_PROTOCOL_TLS1_3 unsupported.');
12+
}
713
--FILE--
814
<?php
915
require "connect.inc";

0 commit comments

Comments
 (0)