diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-08-31 11:19:20 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-08-31 11:19:20 +0000 |
commit | 64bbbd342ddf726767653406c6bb67f303bf3193 (patch) | |
tree | cd956f9dd18ac53b7c80c3b8e595f5d80e3f0c6a /lib/libcrypto | |
parent | a255fb56ca635af1251eae27282421a1de14770d (diff) |
whitespace
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/bn/bn_print.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/bn/bn_rand.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcrypto/bn/bn_print.c b/lib/libcrypto/bn/bn_print.c index de67c03c148..d849b860f90 100644 --- a/lib/libcrypto/bn/bn_print.c +++ b/lib/libcrypto/bn/bn_print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_print.c,v 1.31 2017/01/29 17:49:22 beck Exp $ */ +/* $OpenBSD: bn_print.c,v 1.32 2021/08/31 11:19:19 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -216,7 +216,7 @@ BN_hex2bn(BIGNUM **bn, const char *a) if ((ret = BN_new()) == NULL) return (0); } else { - ret= *bn; + ret = *bn; BN_zero(ret); } @@ -228,7 +228,7 @@ BN_hex2bn(BIGNUM **bn, const char *a) m = 0; h = 0; while (j > 0) { - m = ((BN_BYTES*2) <= j) ? (BN_BYTES * 2) : j; + m = ((BN_BYTES * 2) <= j) ? (BN_BYTES * 2) : j; l = 0; for (;;) { c = a[j - m]; diff --git a/lib/libcrypto/bn/bn_rand.c b/lib/libcrypto/bn/bn_rand.c index f94ce1dceb7..b21692c9499 100644 --- a/lib/libcrypto/bn/bn_rand.c +++ b/lib/libcrypto/bn/bn_rand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_rand.c,v 1.24 2020/09/12 17:16:36 tb Exp $ */ +/* $OpenBSD: bn_rand.c,v 1.25 2021/08/31 11:19:19 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -194,20 +194,20 @@ err: return (ret); } -int +int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) { return bnrand(0, rnd, bits, top, bottom); } -int +int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) { return bnrand(1, rnd, bits, top, bottom); } #if 1 -int +int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) { return bnrand(2, rnd, bits, top, bottom); |