diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index ddcb03bca..e1a447fa1 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -2826,7 +2826,7 @@ int httpd_main(int argc UNUSED_PARAM, char **argv) | |||
2826 | salt[0] = '$'; | 2826 | salt[0] = '$'; |
2827 | salt[1] = '1'; | 2827 | salt[1] = '1'; |
2828 | salt[2] = '$'; | 2828 | salt[2] = '$'; |
2829 | crypt_make_salt(salt + 3, 4); | 2829 | crypt_make_rand64encoded(salt + 3, 8 / 2); /* 8 chars */ |
2830 | puts(pw_encrypt(pass, salt, /*cleanup:*/ 0)); | 2830 | puts(pw_encrypt(pass, salt, /*cleanup:*/ 0)); |
2831 | return 0; | 2831 | return 0; |
2832 | } | 2832 | } |