------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.exim.org/show_bug.cgi?id=230 --- Comment #13 from Adam <[email protected]> 2011-03-22 10:48:46 --- After doing a little research on the Internet, I guess you're right. The call should be written as: ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, &cert_option); Cheers :) Adam > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. > > http://bugs.exim.org/show_bug.cgi?id=230 > > Phil Pennock <[email protected]> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |[email protected] > Status|RESOLVED |REOPENED > Resolution|FIXED | > > > > > --- Comment #11 from Phil Pennock <[email protected]> 2011-03-22 10:32:49 --- > Adam, > > When compiling with clang, I got a warning about parameter mismatch for the > call to ldap_set_option() in the LDAP_OPT_X_TLS_REQUIRE_CERT case. It looks > like a legitimate complaint. > > ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, cert_option); > > Shouldn't that be &cert_option ? > > The code certainly appears to work as-is, but I don't know why: an arbitrary > bit-pattern shouldn't be a dereferenceable pointer. Or is this call correct > and OpenLDAP's documentation just not covering this case? > > Thanks, > -Phil > > > -- > Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
