X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fmain-tdes-test.c;h=749032947e7a83258985611cc120f4317404e9a5;hp=7cad365ade8ea0a99b1f8de799234a12c048fe50;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8 diff --git a/test_src/main-tdes-test.c b/test_src/main-tdes-test.c index 7cad365..7490329 100644 --- a/test_src/main-tdes-test.c +++ b/test_src/main-tdes-test.c @@ -40,7 +40,7 @@ char* algo_name = "TDES"; -const bcdesc_t* algolist[] PROGMEM = { +const bcdesc_t* const algolist[] PROGMEM = { (bcdesc_t*)&tdes_desc, (bcdesc_t*)&tdes2_desc, NULL @@ -66,7 +66,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_tdes}, { test_str, NULL, testrun_nessie_tdes}, { performance_str, NULL, testrun_performance_tdes},