Skip to content

Commit 2226d2f

Browse files
committed
try without changing start_tls (test only)
1 parent 6466ed7 commit 2226d2f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/ldap/ldap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3708,9 +3708,6 @@ PHP_FUNCTION(ldap_start_tls)
37083708
VERIFY_LDAP_LINK_CONNECTED(ld);
37093709

37103710
if (((rc = ldap_set_option(ld->link, LDAP_OPT_PROTOCOL_VERSION, &protocol)) != LDAP_SUCCESS) ||
3711-
#ifdef LDAP_OPT_X_TLS_NEWCTX
3712-
((rc = ldap_set_option(ld->link, LDAP_OPT_X_TLS_NEWCTX, &val)) != LDAP_OPT_SUCCESS) ||
3713-
#endif
37143711
((rc = ldap_start_tls_s(ld->link, NULL, NULL)) != LDAP_SUCCESS)
37153712
) {
37163713
php_error_docref(NULL, E_WARNING,"Unable to start TLS: %s", ldap_err2string(rc));

0 commit comments

Comments
 (0)