]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-sha1-test.c
a lot of fixes
[avr-crypto-lib.git] / test_src / main-sha1-test.c
index 1b19d0a948c44475ece4089e6860d588ced2ce7a..48d26341d11b586a0eb9f0155687fea119431728 100644 (file)
@@ -41,7 +41,7 @@
 
 char* algo_name = "SHA-1";
 
-const hfdesc_t* algolist[] PROGMEM = {
+const hfdesc_t* const algolist[] PROGMEM = {
        (hfdesc_t*)&sha1_desc,
        NULL
 };
@@ -194,7 +194,7 @@ const char shavs_test2_str[] PROGMEM = "shavs_test2";
 const char dump_str[]        PROGMEM = "dump";
 
 
-cmdlist_entry_t cmdlist[] PROGMEM = {
+const cmdlist_entry_t cmdlist[] PROGMEM = {
        { nessie_str,          NULL, testrun_nessie_sha1},
        { test_str,            NULL, testrun_sha1},
        { test2_str,           NULL, testrun_sha1_2},