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:
Jouni Malinen 2018-12-24 11:12:53 +02:00
parent e422a819d0
commit 5759bd36aa

View file

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