]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix segfault with Solaris LDAP SDK when enabling ldaps.
authorStefan Fritsch <sf@apache.org>
Fri, 2 Dec 2011 17:44:09 +0000 (17:44 +0000)
committerStefan Fritsch <sf@apache.org>
Fri, 2 Dec 2011 17:44:09 +0000 (17:44 +0000)
commit27bdc1e778d31cceb2b7b4e1805872f60ad6dab8
treeda002d801de3739f8f49b52034b9e37a6e0d88a0
parent35cc273981fe39461b9aa897c6737c7e6b421b64
Fix segfault with Solaris LDAP SDK when enabling ldaps.

Enable SSL by passing secure=1 to apr_ldap_init instead of calling
apr_ldap_set_option(... APR_LDAP_OPT_TLS ...).

This change carefully avoids any change of behavior on non-Solaris LDAP SDKs.

PR: 42682

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209601 13f79535-47bb-0310-9956-ffa450edef68
modules/ldap/util_ldap.c