diff options
author | Sumit Bose <sbose@redhat.com> | 2010-12-14 10:30:29 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-14 17:13:29 -0500 |
commit | a52139666b8217909c17ebb1b8eec1785194b894 (patch) | |
tree | 7e7f8ecc25308c04601551b399970b4729773d66 /src | |
parent | 6c1ec705cd9ebb49bf49778e0396e32fdf38f315 (diff) | |
download | sssd-a52139666b8217909c17ebb1b8eec1785194b894.tar.gz sssd-a52139666b8217909c17ebb1b8eec1785194b894.tar.xz sssd-a52139666b8217909c17ebb1b8eec1785194b894.zip |
Remove unused newauthtok variable in LOCAL_pam_handler
https://fedorahosted.org/sssd/ticket/716
Diffstat (limited to 'src')
-rw-r--r-- | src/responder/pam/pam_LOCAL_domain.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/responder/pam/pam_LOCAL_domain.c b/src/responder/pam/pam_LOCAL_domain.c index 0df9499dd..6e0631aa8 100644 --- a/src/responder/pam/pam_LOCAL_domain.c +++ b/src/responder/pam/pam_LOCAL_domain.c @@ -230,7 +230,6 @@ int LOCAL_pam_handler(struct pam_auth_req *preq) struct ldb_result *res; const char *username = NULL; const char *password = NULL; - char *newauthtok = NULL; char *new_hash = NULL; char *authtok = NULL; struct pam_data *pd = preq->pd; @@ -352,8 +351,6 @@ done: memset(authtok, 0, pd->authtok_size); if (pd->newauthtok != NULL) memset(pd->newauthtok, 0, pd->newauthtok_size); - if (newauthtok != NULL) - memset(newauthtok, 0, pd->newauthtok_size); prepare_reply(lreq); return EOK; |