Make ldap_require_cert work (not segfault).
authorPhil Pennock <pdp@exim.org>
Tue, 22 Mar 2011 10:43:34 +0000 (06:43 -0400)
committerPhil Pennock <pdp@exim.org>
Tue, 22 Mar 2011 10:43:34 +0000 (06:43 -0400)
commit109066729a54f6ba5c4e8bc174133da33242e930
tree594f1ce03368d58d8c87a0aba1322c5606986e66
parentb3c261f710276f28ea23bf86dddacdf5fb4612b4
Make ldap_require_cert work (not segfault).

The clang complaint, which also triggered a gcc complaint, was
legitimate. My first test, which suggested no problem, was flawed.

This:
  ldap_start_tls
  ldap_require_cert = demand
would cause a segfault on LDAP lookup.

fixes bug 230
doc/doc-txt/ChangeLog
src/src/lookups/ldap.c