mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Fixes SP math all build issue with small-stack and no hardening. Fixes ZD15388
This commit is contained in:
@ -12692,7 +12692,11 @@ static int _sp_exptmod_base_2(const sp_int* e, int digits, const sp_int* m,
|
|||||||
sp_print(r, "rme");
|
sp_print(r, "rme");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WC_NO_HARDEN
|
||||||
FREE_SP_INT_ARRAY(d, NULL);
|
FREE_SP_INT_ARRAY(d, NULL);
|
||||||
|
#else
|
||||||
|
FREE_SP_INT(tr, m->used * 2 + 1);
|
||||||
|
#endif
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user