SHA256
1
0
forked from pool/exim
exim/ldap_set_option-void-cast.diff

18 lines
572 B
Diff
Raw Normal View History

Author: Lars Mueller <lars at samba dot org>
Subject: ldap_set_option() called with int as third arg instead of void
Bugzilla: beo 1108
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