mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 03:14:05 -05:00
WPS: Fix wps_validate_credential() argument type
Newer gcc complained about the mismatching len[] argument type. Silence that by using the correct type. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e422a819d0
commit
5759bd36aa
@ -1057,7 +1057,7 @@ static int wps_validate_cred(const u8 *cred, size_t len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int wps_validate_credential(const u8 *cred[], size_t len[], size_t num,
|
static int wps_validate_credential(const u8 *cred[], u16 len[], size_t num,
|
||||||
int mandatory)
|
int mandatory)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
Loading…
Reference in New Issue
Block a user