]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Move const qualifier after static
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Sat, 4 Jul 2026 10:01:33 +0000 (12:01 +0200)
committerEugene Syromiatnikov <esyr@openssl.org>
Wed, 8 Jul 2026 10:10:36 +0000 (12:10 +0200)
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)

test/igetest.c

index d19c116d4014c33533229ae38633be234e1dec0b..7e7ad0606f31813c7f49f359d20e220e2126d2c5 100644 (file)
@@ -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,