X-Git-Url: https://git.cryptolib.org/avr-crypto-lib.git?a=blobdiff_plain;f=test_src%2Fmain-rc6-test.c;h=2c77bea450040d8c4f46d4dd59eb9ed8a2f7f7e4;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=e264d79001fc5afd02f522bf7ea0fb1b32937dd8;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8;p=avr-crypto-lib.git diff --git a/test_src/main-rc6-test.c b/test_src/main-rc6-test.c index e264d79..2c77bea 100644 --- a/test_src/main-rc6-test.c +++ b/test_src/main-rc6-test.c @@ -40,7 +40,7 @@ #define RC6_ROUNDS 20 char* algo_name = "RC6-32/20/16"; -const bcdesc_t* algolist[] PROGMEM = { +const bcdesc_t* const algolist[] PROGMEM = { (bcdesc_t*)&rc6_desc, NULL }; @@ -68,7 +68,7 @@ const char test_str[] PROGMEM = "test"; const char performance_str[] PROGMEM = "performance"; const char echo_str[] PROGMEM = "echo"; -cmdlist_entry_t cmdlist[] PROGMEM = { +const cmdlist_entry_t cmdlist[] PROGMEM = { { nessie_str, NULL, testrun_nessie_rc6}, { test_str, NULL, testrun_nessie_rc6}, { performance_str, NULL, testrun_performance_rc6},