mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
wpa_gui-qt4: Fixed phase2 format for EAP-FAST GTC+MSCHAPv2 case
This commit is contained in:
parent
2e8c9a27f5
commit
5373c18233
@ -314,7 +314,7 @@ void NetworkConfig::addNetwork()
|
|||||||
} else if (inner.compare("GTC(auth) + MSCHAPv2(prov)")
|
} else if (inner.compare("GTC(auth) + MSCHAPv2(prov)")
|
||||||
== 0) {
|
== 0) {
|
||||||
snprintf(phase2, sizeof(phase2),
|
snprintf(phase2, sizeof(phase2),
|
||||||
"auth=GTC MSCHAPV2");
|
"auth=GTC auth=MSCHAPV2");
|
||||||
provisioning = "fast_provisioning=1";
|
provisioning = "fast_provisioning=1";
|
||||||
}
|
}
|
||||||
if (provisioning) {
|
if (provisioning) {
|
||||||
@ -643,7 +643,7 @@ void NetworkConfig::paramsFromConfig(int network_id)
|
|||||||
case FAST_INNER:
|
case FAST_INNER:
|
||||||
if (strncmp(reply, "\"auth=", 6))
|
if (strncmp(reply, "\"auth=", 6))
|
||||||
break;
|
break;
|
||||||
if (strcmp(reply + 6, "GTC MSCHAPV2") == 0) {
|
if (strcmp(reply + 6, "GTC auth=MSCHAPV2") == 0) {
|
||||||
val = "GTC(auth) + MSCHAPv2(prov)";
|
val = "GTC(auth) + MSCHAPv2(prov)";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user