From add9d9595bdbbae2c6b045cc3f8c1f31823748ec Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Wed, 17 Dec 2014 16:07:57 -0500 Subject: [PATCH] We now use the correct name for function macros... --- src/modules/rlm_ldap/ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/rlm_ldap/ldap.c b/src/modules/rlm_ldap/ldap.c index 060569b18604..a44fd40ed7b5 100644 --- a/src/modules/rlm_ldap/ldap.c +++ b/src/modules/rlm_ldap/ldap.c @@ -1392,7 +1392,7 @@ void *mod_conn_create(TALLOC_CTX *ctx, void *instance) do_ldap_option(LDAP_OPT_X_KEEPALIVE_INTERVAL, "keepalive interval", &(inst->keepalive_interval)); #endif -#ifdef HAVE_LDAP_START_TLS +#ifdef HAVE_LDAP_START_TLS_S /* * Set all of the TLS options */ @@ -1449,7 +1449,7 @@ void *mod_conn_create(TALLOC_CTX *ctx, void *instance) goto error; } } -#endif /* HAVE_LDAP_START_TLS */ +#endif /* HAVE_LDAP_START_TLS_S */ status = rlm_ldap_bind(inst, NULL, &conn, inst->admin_dn, inst->password, false); if (status != LDAP_PROC_SUCCESS) {