]> git.ozlabs.org Git - ppp.git/commit
pppd: Fix blank password usage
authorSimon Tate <simon.tate@bt.com>
Sat, 12 Sep 2020 20:13:26 +0000 (21:13 +0100)
committerSimon Tate <simon.tate@bt.com>
Mon, 14 Sep 2020 11:29:32 +0000 (12:29 +0100)
commit6d39c6591f0bb9ff361f8f9a55067deef744804c
tree005d29b91c07e67c87f762f2a9ea025dbebf6192
parentfc0a76c87a123e65b4922008257f5878251f9323
pppd: Fix blank password usage

If a password has been provided as "", CHAP authentication wouldn't
happen. A user providing a username/password, even if blank, should be
expecting authentication to occur with those set.

Added a check for explicit_passwd property, set on finding the password
argument, to allow CHAP authentication with a blank password.

Signed-off-by: Simon Tate <simon.tate@bt.com>
pppd/auth.c