X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-tdes-test.c;h=749032947e7a83258985611cc120f4317404e9a5;hb=38e12ca0d3a9df2ca6809ab88fb2ea32e5aed8f8;hp=7cad365ade8ea0a99b1f8de799234a12c048fe50;hpb=d1181933dc28db92d787cf5604e2fc96ab0d8f9f;p=avr-crypto-lib.git 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},