X-Git-Url: https://git.cryptolib.org/avr-crypto-lib.git?a=blobdiff_plain;f=test_src%2Fmain-whirlpool-test.c;h=c2cc71b7e645bbda04bafdda95a57d337023099e;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=4d0cfe4a076ccbb478cb42da300653125da263da;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8;p=avr-crypto-lib.git diff --git a/test_src/main-whirlpool-test.c b/test_src/main-whirlpool-test.c index 4d0cfe4..c2cc71b 100644 --- a/test_src/main-whirlpool-test.c +++ b/test_src/main-whirlpool-test.c @@ -42,7 +42,7 @@ char* algo_name = "Whirlpool"; -const hfdesc_t* algolist[] PROGMEM = { +const hfdesc_t* const algolist[] PROGMEM = { (hfdesc_t*)&whirlpool_desc, NULL }; @@ -140,7 +140,7 @@ const char shavs_test2_str[] PROGMEM = "shavs_test2"; const char shavs_test3_str[] PROGMEM = "shavs_test3"; const char dump_str[] PROGMEM = "dump"; -cmdlist_entry_t cmdlist[] PROGMEM = { +const cmdlist_entry_t cmdlist[] PROGMEM = { { nessie_str, NULL, testrun_nessie_whirlpool }, { nessie2_str, NULL, testrun_nessie2 }, { test_str, NULL, testrun_whirlpool },