From 100223bec0791748ae65e7502555e3086ef281ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 2 Jul 2005 19:02:03 +0200
Subject: [PATCH] (test_main): Use static const for msg.

Rev: src/nettle/testsuite/cbc-test.c:1.5
---
 testsuite/cbc-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
GitLab