forked from wolfSSL/wolfssl
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
|
||||
|
||||
|
||||
|
||||
#ifndef WOLFSSL_SP_MATH
|
||||
/* math settings check */
|
||||
word32 CheckRunTimeSettings(void)
|
||||
{
|
||||
return CTC_SETTINGS;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* math settings size check */
|
||||
word32 CheckRunTimeFastMath(void)
|
||||
|
Reference in New Issue
Block a user