Remove these always-true defines along with their #ifdef statements.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
# include <selinux/get_context_list.h>
#endif
-#define CHECK_DES 1
-#define CHECK_MD5 1
-
#define F_PASSWD "/etc/passwd"
#define F_SHADOW "/etc/shadow"
#define BINSH "/bin/sh"
if (pass[0] == 0)
return 1;
-#if CHECK_MD5
if (pass[0] != '$')
goto check_des;
*/
return 1;
check_des:
-#endif
-#if CHECK_DES
if (strlen(pass) != 13)
return 0;
*s != '.' && *s != '/')
return 0;
}
-#endif
return 1;
}