fix compile in debug
This commit is contained in:
@@ -860,28 +860,6 @@ unsigned short bignum_mod_short(Bignum number, unsigned short modulus)
|
||||
return (unsigned short) r;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
void diagbn(char *prefix, Bignum md)
|
||||
{
|
||||
int i, nibbles, morenibbles;
|
||||
static const char hex[] = "0123456789ABCDEF";
|
||||
|
||||
debug(("%s0x", prefix ? prefix : ""));
|
||||
|
||||
nibbles = (3 + bignum_bitcount(md)) / 4;
|
||||
if (nibbles < 1)
|
||||
nibbles = 1;
|
||||
morenibbles = 4 * md[0] - nibbles;
|
||||
for (i = 0; i < morenibbles; i++)
|
||||
debug(("-"));
|
||||
for (i = nibbles; i--;)
|
||||
debug(("%c",
|
||||
hex[(bignum_byte(md, i / 2) >> (4 * (i % 2))) & 0xF]));
|
||||
|
||||
if (prefix)
|
||||
debug(("\n"));
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Simple division.
|
||||
|
||||
Reference in New Issue
Block a user