X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fmain-des-test.c;h=c1ef54f48d931a92a3d71541099a927be09978fc;hp=828593fa82b996758e0a0f3517a684039ac29775;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8 diff --git a/test_src/main-des-test.c b/test_src/main-des-test.c index 828593f..c1ef54f 100644 --- a/test_src/main-des-test.c +++ b/test_src/main-des-test.c @@ -41,7 +41,7 @@ char* algo_name = "DES"; -const bcdesc_t* algolist[] PROGMEM = { +const bcdesc_t* const algolist[] PROGMEM = { (bcdesc_t*)&des_desc, (bcdesc_t*)&tdes2_desc, (bcdesc_t*)&tdes_desc, @@ -67,7 +67,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_des }, { test_str, NULL, testrun_nessie_des }, { performance_str, NULL, testrun_performance_des},