TFM: get returned error to act on

This commit is contained in:
Sean Parkinson
2021-05-18 14:30:26 +10:00
parent d8312a2e61
commit c1490bb91a

View File

@ -1391,7 +1391,7 @@ top:
/* b is now the inverse */
neg = a->sign;
while (D->sign == FP_NEG) {
fp_add (D, b, D);
err = fp_add (D, b, D);
if (err != FP_OKAY) {
#ifdef WOLFSSL_SMALL_STACK
XFREE(x, NULL, DYNAMIC_TYPE_BIGINT);