The unified diff between revisions [0dc5b2d6..] and [b14c94b9..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'bn_mp_mul_d.c'
#
#
# patch "bn_mp_mul_d.c"
# from [fe7fe17b0dc44d3f3c6ab78998691e412280255e]
# to [684e50bde0381306076b4b64d2ecbab99b7af195]
#
============================================================
--- bn_mp_mul_d.c fe7fe17b0dc44d3f3c6ab78998691e412280255e
+++ bn_mp_mul_d.c 684e50bde0381306076b4b64d2ecbab99b7af195
@@ -57,8 +57,9 @@ mp_mul_d (mp_int * a, mp_digit b, mp_int
u = (mp_digit) (r >> ((mp_word) DIGIT_BIT));
}
- /* store final carry [if any] */
+ /* store final carry [if any] and increment ix offset */
*tmpc++ = u;
+ ++ix;
/* now zero digits above the top */
while (ix++ < olduse) {