summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lib.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-11-05 19:30:29 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-11-05 19:30:29 +0000
commit0ef85c7f4512570a02c4ff5d95a275ecf225702a (patch)
tree71f538a7a6df0a28d60d106348d7837e6ad8fa03 /crypto/bn/bn_lib.c
parent078dd1a0f94394632614123af3155866749ff79c (diff)
This is a revert of my previous commit to "improve" the declaration of
constant BIGNUMs. It turns out that this trips up different but equally useful compiler warnings to -Wcast-qual, and so wasn't worth the ugliness it created. (Thanks to Ulf for the forehead-slap.)
Diffstat (limited to 'crypto/bn/bn_lib.c')
-rw-r--r--crypto/bn/bn_lib.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index 85b72e0eeb..1f45b09d08 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -887,11 +887,3 @@ int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b,
}
return bn_cmp_words(a,b,cl);
}
-
-/* See the comments surrounding BIGNUM_C in bn.h */
-#ifdef BN_DEBUG
-const BIGNUM *BIGNUM_CONST(const BIGNUM_C *bn)
- {
- return (const BIGNUM *)bn;
- }
-#endif