Fix CONFIG_WPS=y, CONFIG_TLS=internal build
crypto_mod_exp() is needed for both EAP-FAST and WPS.
This commit is contained in:
parent
c3ece50446
commit
f086742432
1 changed files with 2 additions and 2 deletions
|
@ -790,7 +790,7 @@ void crypto_global_deinit(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef EAP_FAST
|
#if defined(EAP_FAST) || defined(CONFIG_WPS)
|
||||||
|
|
||||||
int crypto_mod_exp(const u8 *base, size_t base_len,
|
int crypto_mod_exp(const u8 *base, size_t base_len,
|
||||||
const u8 *power, size_t power_len,
|
const u8 *power, size_t power_len,
|
||||||
|
@ -827,7 +827,7 @@ error:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* EAP_FAST */
|
#endif /* EAP_FAST || CONFIG_WPS */
|
||||||
|
|
||||||
|
|
||||||
#endif /* CONFIG_TLS_INTERNAL */
|
#endif /* CONFIG_TLS_INTERNAL */
|
||||||
|
|
Loading…
Reference in a new issue