We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7365442 commit 6fc673dCopy full SHA for 6fc673d
bn_mp_shrink.c
@@ -6,8 +6,10 @@
6
/* shrink a bignum */
7
int mp_shrink(mp_int *a)
8
{
9
+ static int static_check[-(MP_PREC < MP_MIN_PREC)];
10
mp_digit *tmp;
11
int alloc = MP_MAX(MP_MIN_PREC, a->used);
12
+ (void)static_check;
13
if (a->alloc != alloc) {
14
if ((tmp = (mp_digit *) MP_REALLOC(a->dp,
15
(size_t)a->alloc * sizeof(mp_digit),
0 commit comments