]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-TTLS/PAP: User-Password obfuscation for zero length password
authorMasashi Honma <honma@ictec.co.jp>
Wed, 9 Dec 2009 21:42:54 +0000 (23:42 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 9 Dec 2009 21:42:54 +0000 (23:42 +0200)
commitbab31499fd0883be8614d807daa6e05da2f9f4f8
treeaacb480bfa6deb1820f6617e66a4f3bc6646a7eb
parent3484a18a135b20ffbc54f4a9e99daaa560651b4c
EAP-TTLS/PAP: User-Password obfuscation for zero length password

The password in User-Password AVP is padded to a multiple of 16 bytes
on EAP-TTLS/PAP. But when the password length is zero, no padding is
added. It doesn't cause connectivity issue. In fact, I could connect
with hostapd RADIUS server with zero length password.

I think it's better for obfuscation to pad the 16 bytes data when the
password length is zero with this patch.
src/eap_peer/eap_ttls.c