summaryrefslogtreecommitdiffstats
path: root/modules/aaa
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-08-13 11:14:33 +0200
committerStefan Fritsch <sf@apache.org>2011-08-13 11:14:33 +0200
commitf19641462b337a790d2824fc5fe2fd2bf8e0464a (patch)
treee9250c3bd7b4cdbe6f2cc25fff1cc767046e784c /modules/aaa
parentAdd ap_varbuf API for resizable buffers. (diff)
downloadapache2-f19641462b337a790d2824fc5fe2fd2bf8e0464a.tar.xz
apache2-f19641462b337a790d2824fc5fe2fd2bf8e0464a.zip
Compare value instead of string pointer
Remove unused label Remove unused var git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1157357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r--modules/aaa/mod_authnz_ldap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c
index eba5cbfe45..d32f84f899 100644
--- a/modules/aaa/mod_authnz_ldap.c
+++ b/modules/aaa/mod_authnz_ldap.c
@@ -451,7 +451,6 @@ static util_ldap_connection_t *get_connection_for_authz(request_rec *r, enum aut
static authn_status authn_ldap_check_password(request_rec *r, const char *user,
const char *password)
{
- int failures = 0;
char filtbuf[FILTER_LENGTH];
authn_ldap_config_t *sec =
(authn_ldap_config_t *)ap_get_module_config(r->per_dir_config, &authnz_ldap_module);
@@ -479,8 +478,6 @@ static authn_status authn_ldap_check_password(request_rec *r, const char *user,
return AUTH_GENERAL_ERROR;
}
-start_over:
-
/* There is a good AuthLDAPURL, right? */
if (sec->host) {
const char *binddn = sec->binddn;