mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 03:32:42 +01:00
eap-mschapv2: Fix string start calculation
This commit is contained in:
parent
b1d4db7cc8
commit
008965882d
@ -658,7 +658,7 @@ static int eap_mschapv2_check_settings(struct l_settings *settings,
|
|||||||
secret = l_queue_find(secrets, eap_secret_info_match, setting);
|
secret = l_queue_find(secrets, eap_secret_info_match, setting);
|
||||||
if (secret) {
|
if (secret) {
|
||||||
identity = secret->value;
|
identity = secret->value;
|
||||||
password = secret->value + strlen(secret->value);
|
password = secret->value + strlen(secret->value) + 1;
|
||||||
|
|
||||||
goto validate;
|
goto validate;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user