summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-03-21 18:09:12 +0100
committerDmitry Kozlov <xeb@mail.ru>2018-03-24 09:41:22 +0300
commit29c626683ea1aa6136360a6afcc6a053d0342a3d (patch)
treea9f7751cd2963a77e8a8b745fff1b3c038d1facc /contrib
parent5da833d512870bfb4d39741df2bec7fad2969ebd (diff)
downloadaccel-ppp-29c626683ea1aa6136360a6afcc6a053d0342a3d.tar.gz
accel-ppp-29c626683ea1aa6136360a6afcc6a053d0342a3d.zip
auth: avoid sending duplicate CHAP Failure messages in mschap-v1 and mschap-v2
When pwdb returns PWDB_NO_IMPL and chap_recv_response() performs the authentication itself, it delegates this task to chap_check_response(). This function sends a CHAP Failure message if it can't retrieve the password, but not in case of password mismatch. Since chap_recv_response() already sends a CHAP Failure message on error, the one sent by chap_check_response() is useless. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions