Commit cddeed0734 for openssl.org
commit cddeed0734c045e9b7bfa31e6e3a5a41e2bacb7b
Author: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Date: Sat Jul 4 12:01:33 2026 +0200
Move const qualifier after static
Found by running the checkpatch.pl Linux script to enforce coding style.
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
MergeDate: Wed Jul 8 10:11:20 2026
(Merged from https://github.com/openssl/openssl/pull/31860)
diff --git a/test/igetest.c b/test/igetest.c
index d19c116d40..7e7ad0606f 100644
--- a/test/igetest.c
+++ b/test/igetest.c
@@ -43,7 +43,7 @@ struct ige_test {
const int encrypt;
};
-static struct ige_test const ige_test_vectors[] = {
+static const struct ige_test ige_test_vectors[] = {
{ { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }, /* key */
{ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
@@ -88,7 +88,7 @@ struct bi_ige_test {
const int encrypt;
};
-static struct bi_ige_test const bi_ige_test_vectors[] = {
+static const struct bi_ige_test bi_ige_test_vectors[] = {
{ { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f }, /* key1 */
{ 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,