summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypt')
-rw-r--r--lib/libcrypt/crypt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c
index 989d745..6f2846d 100644
--- a/lib/libcrypt/crypt.c
+++ b/lib/libcrypt/crypt.c
@@ -42,11 +42,6 @@ static const struct {
char *(*const func)(const char *, const char *);
const char *const magic;
} crypt_types[] = {
- {
- "md5",
- crypt_md5,
- "$1$"
- },
#ifdef HAS_DES
{
"des",
@@ -55,6 +50,11 @@ static const struct {
},
#endif
{
+ "md5",
+ crypt_md5,
+ "$1$"
+ },
+ {
NULL,
NULL
}
OpenPOWER on IntegriCloud