diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2004-06-22 03:37:11 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2004-06-22 03:37:11 +0000 |
commit | e35bf12eebca0c3ca248dca4c04bff83b9c475a1 (patch) | |
tree | 59869ab8834932a6a5a3965a4b30d4d44dbfb10a /auth1.c | |
parent | 59bf4a9bd44ce2c719437c74bd1e8e73b57d3c4a (diff) |
- (bal) [auth-passwd.c auth1.c] Clean up unused variables.
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -69,7 +69,6 @@ do_authloop(Authctxt *authctxt) u_int dlen; u_int ulen; int prev, type = 0; - struct passwd *pw = authctxt->pw; debug("Attempting authentication for %s%.100s.", authctxt->valid ? "" : "illegal user ", authctxt->user); @@ -232,9 +231,10 @@ do_authloop(Authctxt *authctxt) #ifdef HAVE_CYGWIN if (authenticated && - !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, pw)) { + !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, + authctxt->pw)) { packet_disconnect("Authentication rejected for uid %d.", - pw == NULL ? -1 : pw->pw_uid); + authctxt->pw == NULL ? -1 : authctxt->pw->pw_uid); authenticated = 0; } #else |