summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-07-17 17:04:47 +1000
committerDamien Miller <djm@mindrot.org>2005-07-17 17:04:47 +1000
commit94cf4c8448bab8f1ad563868089bb0ea1ff92213 (patch)
tree1a0752ba64d6b7ccfdcd824ad55a76523e659a87 /auth1.c
parent46d38de48b1018c74040d2399bafbedf50247529 (diff)
- (djm) [acss.c auth-pam.c auth-shadow.c auth-skey.c auth1.c canohost.c]
[cipher-acss.c loginrec.c ssh-rand-helper.c sshd.c] Fix whitespace at EOL in portable too ("perl -p -i -e 's/\s+$/\n/' *.[ch]")
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth1.c b/auth1.c
index ff937f80f..74e213d13 100644
--- a/auth1.c
+++ b/auth1.c
@@ -171,7 +171,7 @@ auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen)
171 key_free(client_host_key); 171 key_free(client_host_key);
172 172
173 snprintf(info, infolen, " ruser %.100s", client_user); 173 snprintf(info, infolen, " ruser %.100s", client_user);
174 174
175 return (authenticated); 175 return (authenticated);
176} 176}
177 177
@@ -299,7 +299,7 @@ do_authloop(Authctxt *authctxt)
299 299
300#ifdef HAVE_CYGWIN 300#ifdef HAVE_CYGWIN
301 if (authenticated && 301 if (authenticated &&
302 !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, 302 !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD,
303 authctxt->pw)) { 303 authctxt->pw)) {
304 packet_disconnect("Authentication rejected for uid %d.", 304 packet_disconnect("Authentication rejected for uid %d.",
305 authctxt->pw == NULL ? -1 : authctxt->pw->pw_uid); 305 authctxt->pw == NULL ? -1 : authctxt->pw->pw_uid);