summaryrefslogtreecommitdiffstats
path: root/test/bntest.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-08-09 04:12:28 +0200
committerRich Salz <rsalz@openssl.org>2016-08-10 16:07:37 +0200
commit2301d91dd58d9827865e360d616291f2549ec5bf (patch)
tree0b60f1e481fbf8c4afc49f493d59a3c8961febb8 /test/bntest.c
parentAdd #defines for magic numbers in API. (diff)
downloadopenssl-2301d91dd58d9827865e360d616291f2549ec5bf.tar.xz
openssl-2301d91dd58d9827865e360d616291f2549ec5bf.zip
Change callers to use the new constants.
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1429)
Diffstat (limited to 'test/bntest.c')
-rw-r--r--test/bntest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bntest.c b/test/bntest.c
index 763a8c29f9..3507b31e1d 100644
--- a/test/bntest.c
+++ b/test/bntest.c
@@ -1220,7 +1220,7 @@ int test_gf2m_add(BIO *bp)
c = BN_new();
for (i = 0; i < num0; i++) {
- BN_rand(a, 512, 0, 0);
+ BN_rand(a, 512, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY);
BN_copy(b, BN_value_one());
a->neg = rand_neg();
b->neg = rand_neg();