summaryrefslogtreecommitdiffstats
path: root/test/hpke_test.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/hpke_test.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/hpke_test.c')
-rw-r--r--test/hpke_test.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/hpke_test.c b/test/hpke_test.c
index a8bd1f8f64..7ce51a6f32 100644
--- a/test/hpke_test.c
+++ b/test/hpke_test.c
@@ -46,8 +46,7 @@ typedef struct {
const char *pskid; /* want terminating NUL here */
} TEST_BASEDATA;
-typedef struct
-{
+typedef struct {
int seq;
const unsigned char *pt;
size_t ptlen;
@@ -57,8 +56,7 @@ typedef struct
size_t expected_ctlen;
} TEST_AEADDATA;
-typedef struct
-{
+typedef struct {
const unsigned char *context;
size_t contextlen;
const unsigned char *expected_secret;