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:
David Garske
2020-01-07 05:43:59 -08:00
parent acfe9717f8
commit 0f0d307b76

View File

@ -86,13 +86,13 @@ WOLFSSL_LOCAL int sp_ModExp_4096(mp_int* base, mp_int* exp, mp_int* mod,
#endif
#ifndef WOLFSSL_SP_MATH
/* math settings check */
word32 CheckRunTimeSettings(void)
{
return CTC_SETTINGS;
}
#endif
/* math settings size check */
word32 CheckRunTimeFastMath(void)