summaryrefslogtreecommitdiff
path: root/server/providers/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'server/providers/ldap')
-rw-r--r--server/providers/ldap/ldap_auth.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/server/providers/ldap/ldap_auth.c b/server/providers/ldap/ldap_auth.c
index 476dbc73..cd3902f0 100644
--- a/server/providers/ldap/ldap_auth.c
+++ b/server/providers/ldap/ldap_auth.c
@@ -660,17 +660,6 @@ struct sdap_pw_cache {
struct sdap_req *lr;
};
-static int password_destructor(void *memctx)
-{
- char *password = (char *)memctx;
- int i;
-
- /* zero out password */
- for (i = 0; password[i]; i++) password[i] = '\0';
-
- return 0;
-}
-
static void sdap_reply(struct be_req *req, int ret, char *errstr)
{
req->fn(req, ret, errstr);