diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-11 08:48:36 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-11 09:23:38 -0400 |
commit | 6c66ae51d0fff5587bc05bbdc98ae5ba06363f04 (patch) | |
tree | 06e7323457139b123ab054e4d6d50ff005152306 /server | |
parent | da891b9cd5a17c65299f84db507181fd74a7a6bf (diff) | |
download | sssd-6c66ae51d0fff5587bc05bbdc98ae5ba06363f04.tar.gz sssd-6c66ae51d0fff5587bc05bbdc98ae5ba06363f04.tar.bz2 sssd-6c66ae51d0fff5587bc05bbdc98ae5ba06363f04.zip |
Remove extra implementation of password_destructor
Diffstat (limited to 'server')
-rw-r--r-- | server/providers/ldap/ldap_auth.c | 11 |
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); |