]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-des-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-des-test.c
index 828593fa82b996758e0a0f3517a684039ac29775..c1ef54f48d931a92a3d71541099a927be09978fc 100644 (file)
@@ -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},