3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

eap-mschapv2: Fix password hash validation

This commit is contained in:
Andrew Zaborowski 2018-06-13 18:58:29 +02:00 committed by Denis Kenzior
parent 1d81325976
commit 660f321c3d

View File

@ -701,7 +701,7 @@ static int eap_mschapv2_check_settings(struct l_settings *settings,
unsigned char *tmp;
size_t len;
tmp = l_util_from_hexstring(password, &len);
tmp = l_util_from_hexstring(password_hash, &len);
l_free(tmp);
if (!tmp || len != 16) {