eap-wsc: Drop 8 digit PIN check

EAP-WSC handles 4 digit, 8 digit and out-of-band Device passwords.  The
latter in particular can be anything, so drop the mandatory minimum
password length check here.

This also has the effect of enabling 4-digit PINs to actually work as
they are intended.
This commit is contained in:
Denis Kenzior 2018-09-24 11:56:12 -05:00
parent a3cc68e61e
commit cc37018426
1 changed files with 0 additions and 3 deletions

View File

@ -1277,9 +1277,6 @@ static bool eap_wsc_load_settings(struct eap_state *eap,
goto err;
}
if (i < 8)
goto err;
wsc->device_password = strdup(device_password);
/*
* WSC 2.0.5: Section 7.4: