diff --git a/bn_mp_kronecker.c b/bn_mp_kronecker.c index 7b56e89..477ef00 100644 --- a/bn_mp_kronecker.c +++ b/bn_mp_kronecker.c @@ -34,7 +34,7 @@ int mp_kronecker(const mp_int *a, const mp_int *p, int *c) int e = MP_OKAY; int v, k; - const int table[8] = {0, 1, 0, -1, 0, -1, 0, 1}; + static const int table[8] = {0, 1, 0, -1, 0, -1, 0, 1}; if (mp_iszero(p)) { if (a->used == 1 && a->dp[0] == 1) {