X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-sha1-test.c;fp=test_src%2Fmain-sha1-test.c;h=48d26341d11b586a0eb9f0155687fea119431728;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=1b19d0a948c44475ece4089e6860d588ced2ce7a;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8;p=avr-crypto-lib.git diff --git a/test_src/main-sha1-test.c b/test_src/main-sha1-test.c index 1b19d0a..48d2634 100644 --- a/test_src/main-sha1-test.c +++ b/test_src/main-sha1-test.c @@ -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},