forked from wolfSSL/wolfssl
fix valgrind warning mp_add_d
This commit is contained in:
@@ -3878,7 +3878,7 @@ int mp_add_d (mp_int* a, mp_digit b, mp_int* c)
|
|||||||
*tmpc++ &= MP_MASK;
|
*tmpc++ &= MP_MASK;
|
||||||
}
|
}
|
||||||
/* set final carry */
|
/* set final carry */
|
||||||
if (mu != 0 && ix < c->alloc) {
|
if (ix < c->alloc) {
|
||||||
ix++;
|
ix++;
|
||||||
*tmpc++ = mu;
|
*tmpc++ = mu;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user