mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 11:24:05 -05:00
tests: Fix build without CONFIG_SAE
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
85b3bb6cc7
commit
83f13e4ff6
@ -252,6 +252,7 @@ static int gas_tests(void)
|
||||
|
||||
static int sae_tests(void)
|
||||
{
|
||||
#ifdef CONFIG_SAE
|
||||
struct sae_data sae;
|
||||
int ret = -1;
|
||||
/* IEEE P802.11-REVmd/D2.1, Annex J.10 */
|
||||
@ -416,6 +417,9 @@ fail:
|
||||
wpabuf_free(buf);
|
||||
crypto_bignum_deinit(mask, 1);
|
||||
return ret;
|
||||
#else /* CONFIG_SAE */
|
||||
return 0;
|
||||
#endif /* CONFIG_SAE */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user