Merge pull request #4046 from SparkiDev/coverity_1

TFM: get returned error to act on
This commit is contained in:
Eric Blankenhorn 2021-05-18 14:26:04 -05:00 committed by GitHub
commit b87af6ae89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);