passwds_match_p (typed_passwd, encrypted_user_passwd))
return True;
+#ifdef ALLOW_ROOT_PASSWD
/* do not allow root to have a null password. */
else if (typed_passwd[0] &&
encrypted_root_passwd &&
passwds_match_p (typed_passwd, encrypted_root_passwd))
return True;
+#endif /* ALLOW_ROOT_PASSWD */
else
return False;