From: Niels Möller Date: Sat, 2 Jul 2005 17:02:03 +0000 (+0200) Subject: (test_main): Use static const for msg. X-Git-Tag: nettle_1.13_release_20051006~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=100223bec0791748ae65e7502555e3086ef281ca;p=thirdparty%2Fnettle.git (test_main): Use static const for msg. Rev: src/nettle/testsuite/cbc-test.c:1.5 --- diff --git a/testsuite/cbc-test.c b/testsuite/cbc-test.c index 4917e95a..b7bd2dd2 100644 --- a/testsuite/cbc-test.c +++ b/testsuite/cbc-test.c @@ -73,7 +73,7 @@ test_cbc_bulk(void) int test_main(void) { - uint8_t msg[2 * AES_BLOCK_SIZE] = "Listen, I'll say this only once!"; + static const uint8_t msg[2 * AES_BLOCK_SIZE] = "Listen, I'll say this only once!"; /* Intermediate values: * iv XOR first message block: