]> andersk Git - openssh.git/blobdiff - auth1.c
- (tim) [regress/README.regress] Document ssh-rand-helper issue. ok bal
[openssh.git] / auth1.c
diff --git a/auth1.c b/auth1.c
index 0615f4ae592f18332c48e558f50ee3a30bae8675..f145cf03d66e4542008ee3e59fed3e27c3f7c5db 100644 (file)
--- a/auth1.c
+++ b/auth1.c
@@ -235,7 +235,7 @@ do_authloop(Authctxt *authctxt)
                if (authenticated &&
                    !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, pw)) {
                        packet_disconnect("Authentication rejected for uid %d.",
-                       pw == NULL ? -1 : pw->pw_uid);
+                           pw == NULL ? -1 : pw->pw_uid);
                        authenticated = 0;
                }
 #else
@@ -307,7 +307,7 @@ do_authentication(Authctxt *authctxt)
 
 #ifdef USE_PAM
        if (options.use_pam)
-               PRIVSEP(start_pam(user));
+               PRIVSEP(start_pam(authctxt));
 #endif
 
        /*
This page took 0.097823 seconds and 4 git commands to generate.