From 6d251fa7fd90983cbc903f8cea16a7299544b6b0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 20 Feb 2004 02:43:49 +0000 Subject: [PATCH] fix compile in debug --- stepmania/src/crypto/CryptBn.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/stepmania/src/crypto/CryptBn.cpp b/stepmania/src/crypto/CryptBn.cpp index 7c3fdc2ef5..48f4c5c93d 100644 --- a/stepmania/src/crypto/CryptBn.cpp +++ b/stepmania/src/crypto/CryptBn.cpp @@ -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.