summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_rand.c
diff options
context:
space:
mode:
authortb <>2021-08-31 11:19:19 +0000
committertb <>2021-08-31 11:19:19 +0000
commitc1743878a38599e5faf4c9eb2d170a17cae4b13f (patch)
tree8c0bfedc53a1c396a1541dc25354f401a4d2ed6f /src/lib/libcrypto/bn/bn_rand.c
parentbdc69a6742d8e8fef194b3425719a100d1f30e4c (diff)
downloadopenbsd-c1743878a38599e5faf4c9eb2d170a17cae4b13f.tar.gz
openbsd-c1743878a38599e5faf4c9eb2d170a17cae4b13f.tar.bz2
openbsd-c1743878a38599e5faf4c9eb2d170a17cae4b13f.zip
whitespace
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/bn/bn_rand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bn/bn_rand.c b/src/lib/libcrypto/bn/bn_rand.c
index f94ce1dceb..b21692c949 100644
--- a/src/lib/libcrypto/bn/bn_rand.c
+++ b/src/lib/libcrypto/bn/bn_rand.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_rand.c,v 1.24 2020/09/12 17:16:36 tb Exp $ */ 1/* $OpenBSD: bn_rand.c,v 1.25 2021/08/31 11:19:19 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -194,20 +194,20 @@ err:
194 return (ret); 194 return (ret);
195} 195}
196 196
197int 197int
198BN_rand(BIGNUM *rnd, int bits, int top, int bottom) 198BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
199{ 199{
200 return bnrand(0, rnd, bits, top, bottom); 200 return bnrand(0, rnd, bits, top, bottom);
201} 201}
202 202
203int 203int
204BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) 204BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom)
205{ 205{
206 return bnrand(1, rnd, bits, top, bottom); 206 return bnrand(1, rnd, bits, top, bottom);
207} 207}
208 208
209#if 1 209#if 1
210int 210int
211BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) 211BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom)
212{ 212{
213 return bnrand(2, rnd, bits, top, bottom); 213 return bnrand(2, rnd, bits, top, bottom);