X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;ds=sidebyside;f=test_src%2Fmain-des-test.c;h=c1ef54f48d931a92a3d71541099a927be09978fc;hb=54cfadc0fd16b6995f1e3bab2c5766fae89c4a6b;hp=828593fa82b996758e0a0f3517a684039ac29775;hpb=d1181933dc28db92d787cf5604e2fc96ab0d8f9f;p=avr-crypto-lib.git 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},