From 79d47278bbb68c52cfc7383dc74641433a08f04d Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 26 Dec 2018 08:08:00 +0100 Subject: [PATCH] static const variable --- bn_mp_kronecker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {