diff options
author | Bodo Möller <bodo@openssl.org> | 2001-02-10 00:34:02 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-02-10 00:34:02 +0000 |
commit | e306892994a0f189089916d2ea66b3bdc0b2d777 (patch) | |
tree | 94199007669d4e72e954df3615b86bae9a3c742c /crypto/dsa/dsa_ossl.c | |
parent | 836f996010d6a5f38d9a13279c37e84a42819966 (diff) |
Simplify BN_rand_range
Diffstat (limited to 'crypto/dsa/dsa_ossl.c')
-rw-r--r-- | crypto/dsa/dsa_ossl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c index 1967290baf..7346817337 100644 --- a/crypto/dsa/dsa_ossl.c +++ b/crypto/dsa/dsa_ossl.c @@ -181,7 +181,7 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) /* Get random k */ do - if (!BN_rand_range(&k, NULL, dsa->q)) goto err; + if (!BN_rand_range(&k, dsa->q)) goto err; while (BN_is_zero(&k)); if ((dsa->method_mont_p == NULL) && (dsa->flags & DSA_FLAG_CACHE_MONT_P)) |