projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ed8cb
)
oops -- remove observation code
author
Bodo Möller
<bodo@openssl.org>
Thu, 8 Feb 2001 12:24:41 +0000
(12:24 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 8 Feb 2001 12:24:41 +0000
(12:24 +0000)
crypto/bn/bn_rand.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_rand.c
b/crypto/bn/bn_rand.c
index a7e35357d6d9d00f7e8175febb75cd3ba14ec2e0..a2e1fdd3e43f93e210f3306119b90584b6a01499 100644
(file)
--- 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)