forked from wolfSSL/wolfssl
TFM: get returned error to act on
This commit is contained in:
@ -1391,7 +1391,7 @@ top:
|
|||||||
/* b is now the inverse */
|
/* b is now the inverse */
|
||||||
neg = a->sign;
|
neg = a->sign;
|
||||||
while (D->sign == FP_NEG) {
|
while (D->sign == FP_NEG) {
|
||||||
fp_add (D, b, D);
|
err = fp_add (D, b, D);
|
||||||
if (err != FP_OKAY) {
|
if (err != FP_OKAY) {
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
XFREE(x, NULL, DYNAMIC_TYPE_BIGINT);
|
XFREE(x, NULL, DYNAMIC_TYPE_BIGINT);
|
||||||
|
Reference in New Issue
Block a user