3
0
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:
Andrew Zaborowski 2018-04-28 04:28:45 +02:00 committed by Denis Kenzior
parent b1d4db7cc8
commit 008965882d

View File

@ -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;
}