mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Fix to avoid duplicate symbol for CheckRunTimeSettings
when SP and TFM are built. Specifically with these build options: USE_FAST_MATH
, WOLFSSL_SP
and WOLFSSL_SP_MATH
.
This commit is contained in:
@ -86,13 +86,13 @@ WOLFSSL_LOCAL int sp_ModExp_4096(mp_int* base, mp_int* exp, mp_int* mod,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef WOLFSSL_SP_MATH
|
||||||
/* math settings check */
|
/* math settings check */
|
||||||
word32 CheckRunTimeSettings(void)
|
word32 CheckRunTimeSettings(void)
|
||||||
{
|
{
|
||||||
return CTC_SETTINGS;
|
return CTC_SETTINGS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* math settings size check */
|
/* math settings size check */
|
||||||
word32 CheckRunTimeFastMath(void)
|
word32 CheckRunTimeFastMath(void)
|
||||||
|
Reference in New Issue
Block a user