summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_rand.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-02-08 12:24:41 +0000
committerBodo Möller <bodo@openssl.org>2001-02-08 12:24:41 +0000
commita5d2acfc792d788ed61f0b3cfe969eee2091a373 (patch)
tree03f2e61c806daf70c0f6b5e2c1e5f7f4282b5b6a /crypto/bn/bn_rand.c
parent35ed8cb8b6655606c2be31d44be942f6724ba405 (diff)
oops -- remove observation code
Diffstat (limited to 'crypto/bn/bn_rand.c')
-rw-r--r--crypto/bn/bn_rand.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c
index a7e35357d6..a2e1fdd3e4 100644
--- a/crypto/bn/bn_rand.c
+++ b/crypto/bn/bn_rand.c
@@ -192,10 +192,8 @@ int BN_rand_range(BIGNUM *r, BIGNUM *min, BIGNUM *range)
{
/* range = 11..._2, so each iteration succeeds with probability > .5 */
if (!BN_rand(r, n, 0, 0)) return 0;
- fprintf(stderr, "?");
}
while (BN_cmp(r, range) >= 0);
- fprintf(stderr, "! (11...)\n");
}
else
{
@@ -215,10 +213,8 @@ int BN_rand_range(BIGNUM *r, BIGNUM *min, BIGNUM *range)
if (BN_cmp(r, range) >= 0)
if (!BN_sub(r, r, range)) return 0;
}
- fprintf(stderr, "?");
}
while (BN_cmp(r, range) >= 0);
- fprintf(stderr, "! (10...)\n");
}
if (min != NULL)