httpd: fix bugs in authentication (by Peter Korsgaard <jacmet ATuclibc.org>)
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 13 Jun 2008 09:55:13 +0000 (09:55 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 13 Jun 2008 09:55:13 +0000 (09:55 -0000)
commit25b463079d963ae4f482db7ced14d14c28b907b8
tree80ff01df839338048b35d9abfd2a667fbe68a30a
parent0eb406caa85d6203b9d80da89e197f0b3e9fcc1d
httpd: fix bugs in authentication (by Peter Korsgaard <jacmet ATuclibc.org>)
 we were accepting empty username; also we were always checking
 dummy user:passwd pair ":" if user gave us wrong one.

function                                             old     new   delta
check_user_passwd                                    338     319     -19
networking/httpd.c