diff options
Diffstat (limited to 'src/tls/libtommath.c')
| -rw-r--r-- | src/tls/libtommath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tls/libtommath.c b/src/tls/libtommath.c index 4f7a14823d725..715674424324d 100644 --- a/src/tls/libtommath.c +++ b/src/tls/libtommath.c @@ -2441,6 +2441,7 @@ static int fast_s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs) /* clear the carry */ _W = 0; + os_memset(W, 0, sizeof(W)); for (ix = 0; ix < pa; ix++) { int tx, ty; int iy; |
