summaryrefslogtreecommitdiff
path: root/server/providers
diff options
context:
space:
mode:
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/proxy.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/server/providers/proxy.c b/server/providers/proxy.c
index 4acec90a..3252a745 100644
--- a/server/providers/proxy.c
+++ b/server/providers/proxy.c
@@ -318,17 +318,6 @@ static void cache_pw_op(struct sysdb_req *req, void *pvt)
}
}
-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 cache_password(struct be_req *req,
const char *username,
struct authtok_conv *ac)