summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-24 10:57:19 -0500
committerRich Salz <rsalz@openssl.org>2015-01-24 10:58:38 -0500
commita2b18e657ea1a932d125154f4e13ab2258796d90 (patch)
treebdfcb8bbe1d673b3bce209ef289520e11a109464 /crypto/bn/bntest.c
parent2747d73c1466c487daf64a1234b6fe2e8a62ac75 (diff)
ifdef cleanup, part 4a: '#ifdef undef'
This removes all code surrounded by '#ifdef undef' One case is left: memmove() replaced by open-coded for loop, in crypto/stack/stack.c That needs further review. Also removed a couple of instances of /* dead code */ if I saw them while doing the main removal. Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index 2d891a7ad1..e03c808554 100644
--- a/crypto/bn/bntest.c
+++ b/crypto/bn/bntest.c
@@ -812,11 +812,6 @@ int test_mont(BIO *bp, BN_CTX *ctx)
BN_from_montgomery(A, c, mont, ctx);
if (bp != NULL) {
if (!results) {
-#ifdef undef
- fprintf(stderr, "%d * %d %% %d\n",
- BN_num_bits(a),
- BN_num_bits(b), BN_num_bits(&mont->N));
-#endif
BN_print(bp, a);
BIO_puts(bp, " * ");
BN_print(bp, b);