# HG changeset patch # User Pascal Bellard # Date 1326898842 -3600 # Node ID 4b603f180e5dd10b620845fd8b5502e7ce37ea78 # Parent d5189db061ed4d6541a4142cf8b6b85a625e6ae0 busybox/httpd: allow clear passwords diff -r d5189db061ed -r 4b603f180e5d busybox/stuff/busybox-1.18-httpd.u --- a/busybox/stuff/busybox-1.18-httpd.u Tue Jan 17 11:07:11 2012 +0100 +++ b/busybox/stuff/busybox-1.18-httpd.u Wed Jan 18 16:00:42 2012 +0100 @@ -194,7 +194,7 @@ + /* this cfg entry is '*' or matches username from peer */ + + /* encrypt pwd from peer and check match with local one */ -+ { ++ if (passwd[0] == '$' && passwd[1] == '1' && passwd[2] == '$') { + char *encrypted = pw_encrypt( + /* pwd: */ colon_after_user + 1, + /* salt: */ passwd,