]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(test_main): Use static const for msg.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 2 Jul 2005 17:02:03 +0000 (19:02 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 2 Jul 2005 17:02:03 +0000 (19:02 +0200)
Rev: src/nettle/testsuite/cbc-test.c:1.5

testsuite/cbc-test.c

index 4917e95adf0fd7e0c12f54f78107d38090a28dcb..b7bd2dd2ff5cd3583b028b2c4596aa90bc5c5210 100644 (file)
@@ -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: