View | Details | Raw Unified | Return to bug 678
Collapse All | Expand All

(-)auth-passwd.c.orig (-1 / +1 lines)
Lines 143-149 Link Here
143
	char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd;
143
	char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd;
144
144
145
	/* Check for users with no password. */
145
	/* Check for users with no password. */
146
	if (strcmp(pw_password, "") == 0 && strcmp(pw->pw_passwd, "") == 0)
146
	if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0)
147
		return ok;
147
		return ok;
148
	else {
148
	else {
149
		/* Encrypt the candidate password using the proper salt. */
149
		/* Encrypt the candidate password using the proper salt. */

Return to bug 678