aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index c8756211a..e02cc4b81 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -23,10 +23,10 @@ static void set_filesize_limit(int blocks);
int get_algo(char *a)
{
- int x = 0; /* standart: DES */
+ int x = 1; /* standard: MD5 */
- if (strcasecmp(a, "md5") == 0)
- x = 1;
+ if (strcasecmp(a, "des") == 0)
+ x = 0;
return x;
}