diff options
author | mouring <mouring> | 2004-06-22 03:37:11 +0000 |
---|---|---|
committer | mouring <mouring> | 2004-06-22 03:37:11 +0000 |
commit | 633b5b82c9f324a2d84d70543a59553f8ea62a21 (patch) | |
tree | c653d6ded716e9edbbb8296b2cf2b679b7000c5e /auth1.c | |
parent | 2fd869c92cb4aa451c9a49ba7eb1e3c394f0cf80 (diff) | |
download | openssh-633b5b82c9f324a2d84d70543a59553f8ea62a21.tar.gz |
- (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 |