mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-18 10:19:24 +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);
|
||||
if (secret) {
|
||||
identity = secret->value;
|
||||
password = secret->value + strlen(secret->value);
|
||||
password = secret->value + strlen(secret->value) + 1;
|
||||
|
||||
goto validate;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user