1--TEST--
2ldap_set_option() - Basic test for TLS cipher suite ldap option
3--CREDITS--
4Chad Sikorra <Chad.Sikorra@gmail.com>
5--EXTENSIONS--
6ldap
7--FILE--
8<?php
9require "connect.inc";
10$link = ldap_connect($uri);
11
12$result = ldap_set_option($link, LDAP_OPT_X_TLS_CIPHER_SUITE, '3DES');
13var_dump($result);
14
15ldap_get_option($link, LDAP_OPT_X_TLS_CIPHER_SUITE, $optionval);
16var_dump($optionval);
17?>
18--EXPECT--
19bool(true)
20string(4) "3DES"
21