X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-present-test.c;fp=test_src%2Fmain-present-test.c;h=1b981fa720a1097fd509ffe2033d38553858c181;hb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;hp=b4e5b4967ca6b88f1fc303fdb07c858d0e5868c3;hpb=21bfb1fb168b3114f675f34e257b6acc557b2de8;p=avr-crypto-lib.git diff --git a/test_src/main-present-test.c b/test_src/main-present-test.c index b4e5b49..1b981fa 100644 --- a/test_src/main-present-test.c +++ b/test_src/main-present-test.c @@ -39,7 +39,7 @@ char* algo_name = "Present"; -const bcdesc_t* algolist[] PROGMEM = { +const bcdesc_t* const algolist[] PROGMEM = { (bcdesc_t*)&present_desc, NULL }; @@ -105,7 +105,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_present}, { test_str, NULL, testrun_self_present}, { performance_str, NULL, testrun_performance_present},