Use proper name in #ifdef
authoraland <aland>
Tue, 23 Aug 2005 22:45:21 +0000 (22:45 +0000)
committeraland <aland>
Tue, 23 Aug 2005 22:45:21 +0000 (22:45 +0000)
src/modules/rlm_ldap/rlm_ldap.c

index a239efa..1c90a6b 100644 (file)
@@ -2041,7 +2041,7 @@ static LDAP *ldap_connect(void *instance, const char *dn, const char *password,
        }
 
 
-#ifdef HAVE_INT_TLS_CONFIG
+#ifdef HAVE_LDAP_INT_TLS_CONFIG
        if (ldap_int_tls_config(NULL, LDAP_OPT_X_TLS_REQUIRE_CERT,
                                (inst->tls_require_cert)) != LDAP_OPT_SUCCESS) {
                radlog(L_ERR, "rlm_ldap: could not set "