summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
authordjm <djm>2005-07-17 07:04:47 +0000
committerdjm <djm>2005-07-17 07:04:47 +0000
commit34d102c93ff06a6ad8287591efdb471a3d89ed02 (patch)
treeb76659f46b45594dff0a3fb9c27739e0b07e0799 /auth1.c
parentb90d5e6e97bdbba4416475bcc11e4771640f0fbb (diff)
downloadopenssh-34d102c93ff06a6ad8287591efdb471a3d89ed02.tar.gz
- (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 ff937f80..74e213d1 100644
--- a/auth1.c
+++ b/auth1.c
@@ -171,7 +171,7 @@ auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen)
key_free(client_host_key);
snprintf(info, infolen, " ruser %.100s", client_user);
-
+
return (authenticated);
}
@@ -299,7 +299,7 @@ do_authloop(Authctxt *authctxt)
#ifdef HAVE_CYGWIN
if (authenticated &&
- !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD,
+ !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD,
authctxt->pw)) {
packet_disconnect("Authentication rejected for uid %d.",
authctxt->pw == NULL ? -1 : authctxt->pw->pw_uid);