sae: Fix argument type passed via va_args

The function expects a size_t argument, but on some ARM systems this was
getting confused and failing.
This commit is contained in:
Denis Kenzior 2019-04-04 13:37:01 -05:00
parent 5338904824
commit b8dd39ded0
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ static bool sae_pwd_seed(const uint8_t *addr1, const uint8_t *addr2,
}
return hkdf_extract(L_CHECKSUM_SHA256, key, 12, 2, out, base, base_len,
&counter, 1);
&counter, (size_t) 1);
}
static struct l_ecc_scalar *sae_pwd_value(const struct l_ecc_curve *curve,