- (bal) Minor cygwin patch to auth1.c. Suggested by djm.
diff --git a/auth1.c b/auth1.c
index e990ff5..2df2de8 100644
--- a/auth1.c
+++ b/auth1.c
@@ -329,13 +329,12 @@
(int)pw->pw_uid);
authenticated = 0;
}
-#endif
-
+#else
/* Special handling for root */
if (authenticated && authctxt->pw->pw_uid == 0 && !auth_root_allowed())
authenticated = 0;
-
-#ifdef USE_PAM /* ISSUE: Right place? */
+#endif
+#ifdef USE_PAM
if (authenticated && !do_pam_account(pw->pw_name, client_user))
authenticated = 0;
#endif