summaryrefslogtreecommitdiffstats
path: root/test/bntest.c
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-09-13 20:41:58 +0200
committerNeil Horman <nhorman@openssl.org>2024-07-22 12:55:35 +0200
commitf83707dc6df306e2ed07eafe518b19e8e3c427ca (patch)
tree4aebd539742d979b8ba3e0caf2999394de66756d /test/bntest.c
parentthat open brace { should be on the previous line (diff)
downloadopenssl-f83707dc6df306e2ed07eafe518b19e8e3c427ca.tar.xz
openssl-f83707dc6df306e2ed07eafe518b19e8e3c427ca.zip
open brace '{' following struct go on the same 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 'test/bntest.c')
-rw-r--r--test/bntest.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/bntest.c b/test/bntest.c
index 20020cac42..8c68203866 100644
--- a/test/bntest.c
+++ b/test/bntest.c
@@ -2847,12 +2847,11 @@ static int test_gcd_prime(void)
return st;
}
-typedef struct mod_exp_test_st
-{
- const char *base;
- const char *exp;
- const char *mod;
- const char *res;
+typedef struct mod_exp_test_st {
+ const char *base;
+ const char *exp;
+ const char *mod;
+ const char *res;
} MOD_EXP_TEST;
static const MOD_EXP_TEST ModExpTests[] = {