2011-05-06 20:31:26 +00:00
|
|
|
Author: Lars Mueller <lars at samba dot org>
|
|
|
|
Subject: ldap_set_option() called with int as third arg instead of void
|
|
|
|
Bugzilla: beo 1108
|
|
|
|
|
2011-05-06 20:03:01 +00:00
|
|
|
Index: exim-4.75/src/lookups/ldap.c
|
|
|
|
===================================================================
|
|
|
|
--- exim-4.75.orig/src/lookups/ldap.c
|
|
|
|
+++ exim-4.75/src/lookups/ldap.c
|
|
|
|
@@ -481,7 +481,7 @@ if (lcp == NULL)
|
|
|
|
{
|
|
|
|
cert_option = LDAP_OPT_X_TLS_TRY;
|
|
|
|
}
|
|
|
|
- ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, cert_option);
|
|
|
|
+ ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, (void *)&cert_option);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|