summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index ad3bd3552..8107e723f 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -124,13 +124,6 @@ auth_password(Authctxt *authctxt, const char *password)
124 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) 124 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
125 return 0; 125 return 0;
126#endif 126#endif
127#ifdef HAVE_CYGWIN
128 /*
129 * Empty password is only possible on NT if the user has _really_
130 * an empty password and authentication is done, though.
131 */
132 if (!is_winnt)
133#endif
134 if (*password == '\0' && options.permit_empty_passwd == 0) 127 if (*password == '\0' && options.permit_empty_passwd == 0)
135 return 0; 128 return 0;
136#ifdef KRB5 129#ifdef KRB5