]> git.ozlabs.org Git - ppp.git/commit
pppd/eap: Fix bug causing incorrect response length (#334)
authorEivind Næss <eivnaes@yahoo.com>
Thu, 3 Feb 2022 22:28:22 +0000 (14:28 -0800)
committerGitHub <noreply@github.com>
Thu, 3 Feb 2022 22:28:22 +0000 (09:28 +1100)
commitd7e62a8499c4032d79e05afbd8fd3efd51c5b148
tree46d612f2a36aca11557196ce1266b18d0aa25f68
parentc2881a6b71a36d28a89166e82820dc5e711fd775
pppd/eap: Fix bug causing incorrect response length (#334)

Need to update the esp->ea_client.ea_namelen variable. A plugin can override the
name of the user, and the variable is passed onto the eap_chap2_response generating
the wrong response length.

Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
pppd/eap.c