mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
eap-mschapv2: Fix password hash validation
This commit is contained in:
parent
1d81325976
commit
660f321c3d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user