summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index d419fa0d2..9901d4842 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -117,7 +117,7 @@ auth_password(Authctxt *authctxt, const char *password)
117 if (pw == NULL) 117 if (pw == NULL)
118 return 0; 118 return 0;
119#ifndef HAVE_CYGWIN 119#ifndef HAVE_CYGWIN
120 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_NO_PASSWD) 120 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)
121 return 0; 121 return 0;
122#endif 122#endif
123 if (*password == '\0' && options.permit_empty_passwd == 0) 123 if (*password == '\0' && options.permit_empty_passwd == 0)