diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-27 21:09:25 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-27 21:09:25 +0000 |
commit | 953aa7904062bbf808a6f566de898bc794583b8c (patch) | |
tree | b0e13d30ba74fa7334ad50e3a42040bc31c15283 /crypto/bn | |
parent | 01d16b54c25a94842f8bd70c9b00ee6ad6c977a1 (diff) |
A couple of things were reversed for BN_pseudo_rand ...
Diffstat (limited to 'crypto/bn')
-rw-r--r-- | crypto/bn/bn_rand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c index dd6f6c9e44..943712c15b 100644 --- a/crypto/bn/bn_rand.c +++ b/crypto/bn/bn_rand.c @@ -127,10 +127,10 @@ err: int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) { - return bnrand(1, rnd, bits, top, bottom); + return bnrand(0, rnd, bits, top, bottom); } int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) { - return bnrand(0, rnd, bits, top, bottom); + return bnrand(1, rnd, bits, top, bottom); } |