summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-09-13 20:32:54 +0200
committerNeil Horman <nhorman@openssl.org>2024-07-22 12:55:35 +0200
commit962431d58bdf7fcdb3db11f17cea878b83292243 (patch)
tree1e52d31bf7605b773c7882fa25a82ab8f4a4d3ff /crypto/bn
parentRemove trailing whitespace (diff)
downloadopenssl-962431d58bdf7fcdb3db11f17cea878b83292243.tar.xz
openssl-962431d58bdf7fcdb3db11f17cea878b83292243.zip
that open brace { should be on the previous line
Found by running the checkpatch.pl Linux script to enforce coding style. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22097)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/bn_lib.c5
-rw-r--r--crypto/bn/bn_nist.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index cab87d9959..c46424c8ea 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -82,8 +82,9 @@ int BN_get_params(int which)
const BIGNUM *BN_value_one(void)
{
static const BN_ULONG data_one = 1L;
- static const BIGNUM const_one =
- { (BN_ULONG *)&data_one, 1, 1, 0, BN_FLG_STATIC_DATA };
+ static const BIGNUM const_one = {
+ (BN_ULONG *)&data_one, 1, 1, 0, BN_FLG_STATIC_DATA
+ };
return &const_one;
}
diff --git a/crypto/bn/bn_nist.c b/crypto/bn/bn_nist.c
index bc864346fb..0d254736e0 100644
--- a/crypto/bn/bn_nist.c
+++ b/crypto/bn/bn_nist.c
@@ -84,8 +84,8 @@ static const BN_ULONG _nist_p_384_sqr[] = {
0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL
};
-static const BN_ULONG _nist_p_521[] =
- { 0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL,
+static const BN_ULONG _nist_p_521[] = {
+ 0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL,
0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL,
0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL,
0xFFFFFFFFFFFFFFFFULL, 0xFFFFFFFFFFFFFFFFULL,